mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2024-12-28 21:55:59 +01:00
Unref page twice (Temporary fix #274)
This commit is contained in:
parent
fb734b48a6
commit
c07e7a0c39
1 changed files with 1 additions and 0 deletions
|
@ -933,6 +933,7 @@ document_close(zathura_t* zathura, bool keep_monitor)
|
|||
gtk_container_foreach(GTK_CONTAINER(zathura->ui.page_widget), remove_page_from_table, (gpointer) 1);
|
||||
for (unsigned int i = 0; i < zathura_document_get_number_of_pages(zathura->document); i++) {
|
||||
g_object_unref(zathura->pages[i]);
|
||||
g_object_unref(zathura->pages[i]); // FIXME
|
||||
}
|
||||
free(zathura->pages);
|
||||
zathura->pages = NULL;
|
||||
|
|
Loading…
Reference in a new issue