videoaggregator: fix bufferpool leak
that happens if it fails to activate the pool Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/6025>
This commit is contained in:
parent
bf7f4eef20
commit
2d7d9f35f5
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user