mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2024-12-29 14:56:00 +01:00
Fix memory leak
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
This commit is contained in:
parent
599e61ccf1
commit
876d35de94
1 changed files with 2 additions and 0 deletions
|
@ -568,6 +568,8 @@ sqlite_save_jumplist(zathura_database_t* db, const char* file, girara_list_t* ju
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
girara_list_iterator_free(cur);
|
||||||
|
|
||||||
if (status == false) {
|
if (status == false) {
|
||||||
sqlite3_exec(priv->session, "ROLLBACK;", NULL, 0, NULL);
|
sqlite3_exec(priv->session, "ROLLBACK;", NULL, 0, NULL);
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Reference in a new issue