From b6f50c51f3adc487d24650ce9d55f4d313ea2fd3 Mon Sep 17 00:00:00 2001 From: Vincent Penquerc'h Date: Thu, 28 Feb 2013 16:55:05 +0000 Subject: rawparse: fix caps leak --- gst/rawparse/gstrawparse.c | 1 + 1 file changed, 1 insertion(+) (limited to 'gst/rawparse') 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; } -- cgit v1.2.3