xvimagesink: free owned discarded pool configuration

This commit is contained in:
Mark Nauwelaerts 2012-03-14 17:14:43 +01:00
parent 781f9474ea
commit 090a8b2273

View file

@ -1960,6 +1960,7 @@ gst_xvimagesink_propose_allocation (GstBaseSink * bsink, GstQuery * query)
GST_DEBUG_OBJECT (xvimagesink, "pool has different caps");
/* different caps, we can't use this pool */
gst_object_unref (pool);
gst_structure_free (config);
pool = NULL;
}
}