mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2024-12-29 16:56:01 +01:00
Fix broken check
This commit is contained in:
parent
7721b237e4
commit
c69ce573de
1 changed files with 1 additions and 1 deletions
|
@ -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_list_t* result = girara_sorted_list_new2((girara_compare_function_t) zathura_bookmarks_compare,
|
||||||
(girara_free_function_t) zathura_bookmark_free);
|
(girara_free_function_t) zathura_bookmark_free);
|
||||||
if (result != NULL) {
|
if (result == NULL) {
|
||||||
sqlite3_finalize(stmt);
|
sqlite3_finalize(stmt);
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue