Commit 9d5cbcab authored by Moritz Lipp's avatar Moritz Lipp
Browse files

Fix possible segmentation fault

parent 48c2d01b
......@@ -60,7 +60,8 @@ zathura_init(int argc, char* argv[])
printf("Error parsing command line arguments: %s\n", error->message);
g_option_context_free(context);
g_error_free(error);
goto error_free;
free(zathura);
return NULL;
}
g_option_context_free(context);
......
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