diff options
author | Vincent Penquerc'h <vincent.penquerch@collabora.co.uk> | 2013-02-28 16:55:05 +0000 |
---|---|---|
committer | Vincent Penquerc'h <vincent.penquerch@collabora.co.uk> | 2013-02-28 16:55:36 +0000 |
commit | b6f50c51f3adc487d24650ce9d55f4d313ea2fd3 (patch) | |
tree | 36ec475cb1404fcc26700cd21075a6dcbbcedaa9 /gst/rawparse | |
parent | c6612bbd9b230f0aeed6e11f61b9b68f22993c3c (diff) |
rawparse: fix caps leak
Diffstat (limited to 'gst/rawparse')
-rw-r--r-- | gst/rawparse/gstrawparse.c | 1 |
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; } |