pipeline: don't leak GstPad
authorJustin Kim <justin.kim@collabora.com>
Thu, 24 Sep 2015 04:40:27 +0000 (13:40 +0900)
committerThibault Saunier <tsaunier@gnome.org>
Thu, 24 Sep 2015 07:42:08 +0000 (09:42 +0200)
https://bugzilla.gnome.org/show_bug.cgi?id=755505

ges/ges-pipeline.c

index 7485248..b2e9a98 100644 (file)
@@ -798,6 +798,7 @@ _link_track (GESPipeline * self, GESTrack * track)
       gst_object_unref (tmppad);
       goto error;
     }
+    gst_object_unref (tmppad);
 
     GST_DEBUG ("Reconfiguring playsink");