Commit b4f834d4 authored by Moritz Lipp's avatar Moritz Lipp
Browse files

Fix segmentation fault in extension checking

parent 5847b5e2
......@@ -57,6 +57,10 @@ file_valid_extension(zathura_t* zathura, const char* path)
const char* file_extension = file_get_extension(path);
if (file_extension == NULL) {
return false;
}
girara_list_iterator_t* iter = girara_list_iterator(zathura->plugins.plugins);
if (iter == NULL) {
return false;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment