deinterlace: fix reference leak
authorTim-Philipp Müller <tim.muller@collabora.co.uk>
Sun, 14 Nov 2010 00:18:16 +0000 (00:18 +0000)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Sun, 14 Nov 2010 00:18:16 +0000 (00:18 +0000)
gst/deinterlace/gstdeinterlace.c

index 2a9f420..d27c851 100644 (file)
@@ -1376,6 +1376,8 @@ gst_deinterlace_getcaps (GstPad * pad)
 
   GST_DEBUG_OBJECT (pad, "Returning caps %" GST_PTR_FORMAT, ret);
 
+  gst_object_unref (self);
+
   return ret;
 
 error: