timeline: Do no unref the timeline before returning it

This commit is contained in:
Thibault Saunier 2013-03-30 13:34:36 +01:00
parent 8d4ce97fc3
commit 40376f9219

View file

@ -2206,7 +2206,7 @@ ges_timeline_new_from_uri (const gchar * uri, GError ** error)
GESProject *project = ges_project_new (uri);
ret = GES_TIMELINE (ges_asset_extract (GES_ASSET (project), error));
gst_object_unref (ret);
gst_object_unref (project);
return ret;
}