diff --git a/sys/pvr2d/gstpvrvideosink.c b/sys/pvr2d/gstpvrvideosink.c index 017bec6f4d..7dc30c1b05 100644 --- a/sys/pvr2d/gstpvrvideosink.c +++ b/sys/pvr2d/gstpvrvideosink.c @@ -994,6 +994,7 @@ gst_pvrvideosink_propose_allocation (GstBaseSink * bsink, GstQuery * query) GST_DEBUG_OBJECT (pvrvideosink, "check existing pool caps"); config = gst_buffer_pool_get_config (pool); gst_buffer_pool_config_get (config, &pcaps, &size, NULL, NULL, NULL, NULL); + gst_structure_free (config); if (!gst_caps_is_equal (caps, pcaps)) { GST_DEBUG_OBJECT (pvrvideosink, "pool has different caps");