ges-launcher: Don't leak string

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3428>
This commit is contained in:
Edward Hervey 2022-11-16 16:20:15 +01:00
parent 615fbb3f10
commit 5a08b22026

View file

@ -1087,6 +1087,7 @@ _run_pipeline (GESLauncher * self)
if (!ges_project_load (project, self->priv->timeline, NULL)) {
ges_printerr ("Could not load timeline: %s\n",
opts->sanitized_timeline);
g_clear_pointer (&opts->sanitized_timeline, &g_free);
return FALSE;
}
}