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

Fix possible deallocation of a deallocated real_path

parent 8abe3d96
......@@ -209,7 +209,7 @@ zathura_document_open(zathura_t* zathura, const char* path, const char* password
if (plugin == NULL) {
girara_error("unknown file type\n");
free(real_path);
goto error_free;
}
document = g_malloc0(sizeof(zathura_document_t));
......
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