mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2024-12-29 08:56:01 +01:00
Fix possible segmentation fault
This commit is contained in:
parent
48c2d01bef
commit
9d5cbcabb5
1 changed files with 2 additions and 1 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue