From 3cc2c5dda143b45ab1e1a156f6675b465fcb9ab1 Mon Sep 17 00:00:00 2001 From: Tim 'mithro' Ansell Date: Thu, 7 Feb 2013 11:40:35 +0100 Subject: videomixer2: avoid caps leak Fixes https://bugzilla.gnome.org/show_bug.cgi?id=693307 --- gst/videomixer/videomixer2.c | 1 + 1 file changed, 1 insertion(+) diff --git a/gst/videomixer/videomixer2.c b/gst/videomixer/videomixer2.c index 8b44ff09c..1d14c5e2b 100644 --- a/gst/videomixer/videomixer2.c +++ b/gst/videomixer/videomixer2.c @@ -1084,6 +1084,7 @@ gst_videomixer2_query_caps (GstPad * pad, GstObject * parent, GstQuery * query) } } gst_query_set_caps_result (query, caps); + gst_caps_unref (caps); return TRUE; } -- cgit v1.2.3