summaryrefslogtreecommitdiff
path: root/gst/interlace
diff options
context:
space:
mode:
authorVincent Penquerc'h <vincent.penquerch@collabora.co.uk>2012-01-10 13:24:22 +0000
committerVincent Penquerc'h <vincent.penquerch@collabora.co.uk>2012-01-10 13:25:27 +0000
commit5ea1601dd9b0054592df57cd51653e706e398f57 (patch)
treee6ee6c70c413f3dda6b1c99c2b7617032fb0f90a /gst/interlace
parentfcf511aa8f4ebc375e4d76d8eb9cd946b05e1b37 (diff)
downloadgstreamer-plugins-bad-5ea1601dd9b0054592df57cd51653e706e398f57.tar.gz
interlace: fix ref leak
Diffstat (limited to 'gst/interlace')
-rw-r--r--gst/interlace/gstinterlace.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gst/interlace/gstinterlace.c b/gst/interlace/gstinterlace.c
index 1665ed791..4e224be7b 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;
}