interlace: fix ref leak
authorVincent Penquerc'h <vincent.penquerch@collabora.co.uk>
Tue, 10 Jan 2012 13:24:22 +0000 (13:24 +0000)
committerVincent Penquerc'h <vincent.penquerch@collabora.co.uk>
Tue, 10 Jan 2012 13:25:27 +0000 (13:25 +0000)
gst/interlace/gstinterlace.c

index 1665ed791cc19a8f3c0a83dd3502e0266c2ef6c8..4e224be7b1e5b6604c25f4a6d295a85a275f2237 100644 (file)
@@ -463,6 +463,8 @@ gst_interlace_getcaps (GstPad * pad)
   gst_caps_set_simple (icaps, "interlaced", G_TYPE_BOOLEAN,
       pad == interlace->srcpad ? TRUE : FALSE, NULL);
 
+  gst_object_unref (interlace);
+
   return icaps;
 }