mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 01:00:37 +00:00
videoaggregator: fix bufferpool leak
that happens if it fails to activate the pool Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/6047>
This commit is contained in:
parent
e111dfc39c
commit
2748805bbe
1 changed files with 1 additions and 0 deletions
|
@ -2843,6 +2843,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…
Reference in a new issue