From: Mark Nauwelaerts Date: Thu, 6 Sep 2012 14:30:44 +0000 (+0200) Subject: deinterlace: do not leak getcaps result X-Git-Tag: RELEASE-0.11.94~38 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a4458f5f743a3d98429ddf14ef9282c693812b6e;p=platform%2Fupstream%2Fgst-plugins-good.git deinterlace: do not leak getcaps result --- diff --git a/gst/deinterlace/gstdeinterlace.c b/gst/deinterlace/gstdeinterlace.c index 9a0e71e..5f2fe2c 100644 --- a/gst/deinterlace/gstdeinterlace.c +++ b/gst/deinterlace/gstdeinterlace.c @@ -2587,6 +2587,7 @@ gst_deinterlace_sink_query (GstPad * pad, GstObject * parent, GstQuery * query) gst_query_parse_caps (query, &filter); caps = gst_deinterlace_getcaps (self, pad, filter); gst_query_set_caps_result (query, caps); + gst_caps_unref (caps); res = TRUE; break; }