mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2024-11-10 23:03:48 +01:00
Resolve GLib-Gobject-CRITICAL warnings
This commit is contained in:
parent
24081171db
commit
e47ff9ad47
@ -254,8 +254,13 @@ zathura_free(zathura_t* zathura)
|
|||||||
zathura_db_free(zathura->database);
|
zathura_db_free(zathura->database);
|
||||||
|
|
||||||
/* free print settings */
|
/* free print settings */
|
||||||
|
if(zathura->print.settings != NULL) {
|
||||||
g_object_unref(zathura->print.settings);
|
g_object_unref(zathura->print.settings);
|
||||||
|
}
|
||||||
|
|
||||||
|
if (zathura->print.page_setup != NULL) {
|
||||||
g_object_unref(zathura->print.page_setup);
|
g_object_unref(zathura->print.page_setup);
|
||||||
|
}
|
||||||
|
|
||||||
/* free registered plugins */
|
/* free registered plugins */
|
||||||
zathura_document_plugins_free(zathura);
|
zathura_document_plugins_free(zathura);
|
||||||
|
Loading…
Reference in New Issue
Block a user