videomixer2: avoid caps leak

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=693307
This commit is contained in:
Tim 'mithro' Ansell 2013-02-07 11:40:35 +01:00 committed by Wim Taymans
parent c3077012c0
commit 3a5d17e852

View file

@ -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;
}