mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2024-11-11 03:33:46 +01:00
Prevent segfault when closing zathura
This commit is contained in:
parent
2657ff58ae
commit
86646affac
@ -134,7 +134,6 @@ zathura_document_plugins_free(zathura_t* zathura)
|
|||||||
|
|
||||||
do {
|
do {
|
||||||
zathura_document_plugin_t* plugin = (zathura_document_plugin_t*) girara_list_iterator_data(iter);
|
zathura_document_plugin_t* plugin = (zathura_document_plugin_t*) girara_list_iterator_data(iter);
|
||||||
free(plugin->file_extension);
|
|
||||||
free(plugin);
|
free(plugin);
|
||||||
} while (girara_list_iterator_next(iter));
|
} while (girara_list_iterator_next(iter));
|
||||||
girara_list_iterator_free(iter);
|
girara_list_iterator_free(iter);
|
||||||
|
Loading…
Reference in New Issue
Block a user