summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim 'mithro' Ansell <gnome at mithis.com>2013-02-07 11:40:35 +0100
committerWim Taymans <wim.taymans@collabora.co.uk>2013-02-07 11:42:18 +0100
commit3cc2c5dda143b45ab1e1a156f6675b465fcb9ab1 (patch)
treedb91d8f8aa53002c33f5b0659335cdd5c3473ed7
parent8aba358287323513f2001ad435cc88d72e297178 (diff)
videomixer2: avoid caps leak
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=693307
-rw-r--r--gst/videomixer/videomixer2.c1
1 files changed, 1 insertions, 0 deletions
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;
}