project: fix string leak

This commit is contained in:
Tim-Philipp Müller 2014-10-26 20:27:17 +00:00
parent 4ad628bb13
commit 3e02157f02

View file

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