mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 11:41:09 +00:00
project: fix string leak
This commit is contained in:
parent
4ad628bb13
commit
3e02157f02
1 changed files with 3 additions and 0 deletions
|
@ -819,6 +819,9 @@ ges_project_new (const gchar * uri)
|
|||
if (project && uri)
|
||||
ges_project_set_uri (project, uri);
|
||||
|
||||
if (uri == NULL)
|
||||
g_free (id);
|
||||
|
||||
return project;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue