ges-launcher: Don't leak string

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3597>
This commit is contained in:
Edward Hervey 2022-11-16 16:20:15 +01:00 committed by GStreamer Marge Bot
parent 7729f144d7
commit e7505ed8b1

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;
}
}