timeline: Do no unref the timeline before returning it
authorThibault Saunier <thibault.saunier@collabora.com>
Sat, 30 Mar 2013 12:34:36 +0000 (13:34 +0100)
committerThibault Saunier <thibault.saunier@collabora.com>
Sat, 30 Mar 2013 12:34:36 +0000 (13:34 +0100)
ges/ges-timeline.c

index bee7007..73763b2 100644 (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;
 }