glmixer: plug a memory leak for the caps

gst_query_set_caps_result() takes a ref on the caps
This commit is contained in:
Matthew Waters 2014-06-26 10:54:38 +10:00
parent a9215f78b5
commit f686c890e4

View file

@ -538,6 +538,7 @@ gst_gl_mixer_query_caps (GstPad * pad, GstAggregator * agg, GstQuery * query)
caps = gst_caps_intersect_full (filter, caps, GST_CAPS_INTERSECT_FIRST);
gst_query_set_caps_result (query, caps);
gst_caps_unref (caps);
return TRUE;
}