mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-09 17:05:52 +00:00
ges-launch: Don't leak help string
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3428>
This commit is contained in:
parent
1ba066bda2
commit
137d38c991
1 changed files with 3 additions and 1 deletions
|
@ -1494,7 +1494,9 @@ _local_command_line (GApplication * application, gchar ** arguments[],
|
|||
|
||||
if (!opts->load_path && !opts->scenario && !opts->testfile
|
||||
&& !opts->list_transitions && (argc <= 1)) {
|
||||
gst_print ("%s", g_option_context_get_help (ctx, TRUE, NULL));
|
||||
gchar *help_str = g_option_context_get_help (ctx, TRUE, NULL);
|
||||
gst_print ("%s", help_str);
|
||||
g_free (help_str);
|
||||
g_option_context_free (ctx);
|
||||
*exit_status = 1;
|
||||
goto done;
|
||||
|
|
Loading…
Reference in a new issue