diff --git a/subprojects/gst-plugins-base/gst-libs/gst/video/gstvideoaggregator.c b/subprojects/gst-plugins-base/gst-libs/gst/video/gstvideoaggregator.c index 80acedf35c..c1f3446278 100644 --- a/subprojects/gst-plugins-base/gst-libs/gst/video/gstvideoaggregator.c +++ b/subprojects/gst-plugins-base/gst-libs/gst/video/gstvideoaggregator.c @@ -2852,6 +2852,7 @@ gst_video_aggregator_create_output_buffer (GstVideoAggregator * videoaggregator, GST_ELEMENT_ERROR (videoaggregator, RESOURCE, SETTINGS, ("failed to activate bufferpool"), ("failed to activate bufferpool")); + gst_object_unref (pool); return GST_FLOW_ERROR; } }