From 24bb263d54108f2f9189e41b8a392c7be3c7cc5a Mon Sep 17 00:00:00 2001 From: =?utf8?q?Olivier=20Cr=C3=AAte?= Date: Tue, 16 Apr 2013 19:29:48 -0400 Subject: [PATCH] videomixer: Don't unref query, we don't own it Fixes double-unref bug. Bug found by Youness Alaoui --- gst/videomixer/videomixer2.c | 1 - 1 file changed, 1 deletion(-) diff --git a/gst/videomixer/videomixer2.c b/gst/videomixer/videomixer2.c index e821a19..92fe2ce 100644 --- a/gst/videomixer/videomixer2.c +++ b/gst/videomixer/videomixer2.c @@ -1279,7 +1279,6 @@ gst_videomixer2_src_query (GstPad * pad, GstObject * parent, GstQuery * query) /* FIXME, needs a custom query handler because we have multiple * sinkpads */ res = FALSE; - gst_query_unref (query); break; } return res; -- 2.7.4