uri-asset: Don't forget to unref DiscovererInfo on dispose
authorYeongjin Jeong <yeongjin.jeong@navercorp.com>
Sat, 26 Jan 2019 07:27:27 +0000 (16:27 +0900)
committerYeongjin Jeong <yeongjin.jeong@navercorp.com>
Tue, 29 Jan 2019 07:16:13 +0000 (16:16 +0900)
Dispose() must unref DiscovererInfo ownership
taken by ges_uri_clip_asset_set_info().

ges/ges-uri-asset.c

index 5605d86a444ee16dc44ebb18eacdf42776f7018c..6f33339feed72ff8c2624cf9cb9d195970547bd9 100644 (file)
@@ -206,6 +206,8 @@ ges_uri_clip_asset_dispose (GObject * object)
     prif->asset_trackfilesources = NULL;
   }
 
+  gst_clear_object (&prif->info);
+
   G_OBJECT_CLASS (ges_uri_clip_asset_parent_class)->dispose (object);
 }