mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +00:00
ges-launcher: fix double free when argument is invalid
https://bugzilla.gnome.org/show_bug.cgi?id=754783
This commit is contained in:
parent
f046bb5a03
commit
32c694cc00
1 changed files with 2 additions and 0 deletions
|
@ -706,7 +706,9 @@ _local_command_line (GApplication * application, gchar ** arguments[],
|
|||
if (!g_option_context_parse (ctx, &argc, &argv, &error)) {
|
||||
g_printerr ("Error initializing: %s\n", error->message);
|
||||
g_option_context_free (ctx);
|
||||
g_error_free (error);
|
||||
*exit_status = 1;
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
if (opts->inspect_action_type) {
|
||||
|
|
Loading…
Reference in a new issue