ges-project: 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:18:19 +01:00
parent 40d9858371
commit ba5beb55ab

View file

@ -687,7 +687,7 @@ ges_project_try_updating_id (GESProject * project, GESAsset * asset,
"and error: %s", g_type_name (G_OBJECT_TYPE (asset)), id,
error->message);
_send_error_loading_asset (project, asset, error);
g_free (new_id);
return NULL;
}