diff --git a/sys/xvimage/xvimagesink.c b/sys/xvimage/xvimagesink.c index d63492bb6f..93d62d613c 100644 --- a/sys/xvimage/xvimagesink.c +++ b/sys/xvimage/xvimagesink.c @@ -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; } }