Commit c69ce573 authored by Sebastian Ramacher's avatar Sebastian Ramacher
Browse files

Fix broken check

parent 7721b237
......@@ -381,7 +381,7 @@ sqlite_load_bookmarks(zathura_database_t* db, const char* file)
girara_list_t* result = girara_sorted_list_new2((girara_compare_function_t) zathura_bookmarks_compare,
(girara_free_function_t) zathura_bookmark_free);
if (result != NULL) {
if (result == NULL) {
sqlite3_finalize(stmt);
return NULL;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment