[0.11] gst-plugins-bad: interlace: fix ref leak

Sebastian Dröge slomo at kemper.freedesktop.org
Tue Jan 10 06:50:52 PST 2012


Module: gst-plugins-bad
Branch: 0.11
Commit: 5ea1601dd9b0054592df57cd51653e706e398f57
URL:    http://cgit.freedesktop.org/gstreamer/gst-plugins-bad/commit/?id=5ea1601dd9b0054592df57cd51653e706e398f57

Author: Vincent Penquerc'h <vincent.penquerch at collabora.co.uk>
Date:   Tue Jan 10 13:24:22 2012 +0000

interlace: fix ref leak

---

 gst/interlace/gstinterlace.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/gst/interlace/gstinterlace.c b/gst/interlace/gstinterlace.c
index 1665ed7..4e224be 100644
--- a/gst/interlace/gstinterlace.c
+++ b/gst/interlace/gstinterlace.c
@@ -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;
 }
 



More information about the gstreamer-commits mailing list