mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2024-11-10 21:13:48 +01:00
Free iterator before list
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
This commit is contained in:
parent
1ebf8f76f8
commit
90533f6773
@ -513,14 +513,14 @@ zathura_free(zathura_t* zathura)
|
||||
g_free(zathura->config.cache_dir);
|
||||
|
||||
/* free jumplist */
|
||||
if (zathura->jumplist.list != NULL) {
|
||||
girara_list_free(zathura->jumplist.list);
|
||||
}
|
||||
|
||||
if (zathura->jumplist.cur != NULL) {
|
||||
girara_list_iterator_free(zathura->jumplist.cur);
|
||||
}
|
||||
|
||||
if (zathura->jumplist.list != NULL) {
|
||||
girara_list_free(zathura->jumplist.list);
|
||||
}
|
||||
|
||||
g_free(zathura);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user