summaryrefslogtreecommitdiff
path: root/gst/rawparse
diff options
context:
space:
mode:
authorVincent Penquerc'h <vincent.penquerch@collabora.co.uk>2013-02-28 16:55:05 +0000
committerVincent Penquerc'h <vincent.penquerch@collabora.co.uk>2013-02-28 16:55:36 +0000
commitb6f50c51f3adc487d24650ce9d55f4d313ea2fd3 (patch)
tree36ec475cb1404fcc26700cd21075a6dcbbcedaa9 /gst/rawparse
parentc6612bbd9b230f0aeed6e11f61b9b68f22993c3c (diff)
rawparse: fix caps leak
Diffstat (limited to 'gst/rawparse')
-rw-r--r--gst/rawparse/gstrawparse.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gst/rawparse/gstrawparse.c b/gst/rawparse/gstrawparse.c
index ec955f655..9e02aa62a 100644
--- a/gst/rawparse/gstrawparse.c
+++ b/gst/rawparse/gstrawparse.c
@@ -225,6 +225,7 @@ gst_raw_parse_set_src_caps (GstRawParse * rp)
}
rp->negotiated = gst_pad_set_caps (rp->srcpad, caps);
+ gst_caps_unref (caps);
return rp->negotiated;
}