mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2024-11-13 07:53:45 +01:00
Fix possible segmentation fault
This commit is contained in:
parent
48c2d01bef
commit
9d5cbcabb5
@ -60,7 +60,8 @@ zathura_init(int argc, char* argv[])
|
|||||||
printf("Error parsing command line arguments: %s\n", error->message);
|
printf("Error parsing command line arguments: %s\n", error->message);
|
||||||
g_option_context_free(context);
|
g_option_context_free(context);
|
||||||
g_error_free(error);
|
g_error_free(error);
|
||||||
goto error_free;
|
free(zathura);
|
||||||
|
return NULL;
|
||||||
}
|
}
|
||||||
g_option_context_free(context);
|
g_option_context_free(context);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user