mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 08:46:40 +00:00
Revert "basesrc: fix pool leak on allocation query error path"
This reverts commit 84fdf50b2f
.
It seems the bug was fixed independently, and the merge was
automagic, yielding two extra free calls.
This commit is contained in:
parent
be6d3e9255
commit
6240b03085
1 changed files with 0 additions and 1 deletions
|
@ -3112,7 +3112,6 @@ gst_base_src_decide_allocation_default (GstBaseSrc * basesrc, GstQuery * query)
|
||||||
return TRUE;
|
return TRUE;
|
||||||
|
|
||||||
config_failed:
|
config_failed:
|
||||||
gst_object_unref (pool);
|
|
||||||
GST_ELEMENT_ERROR (basesrc, RESOURCE, SETTINGS,
|
GST_ELEMENT_ERROR (basesrc, RESOURCE, SETTINGS,
|
||||||
("Failed to configure the buffer pool"),
|
("Failed to configure the buffer pool"),
|
||||||
("Configuration is most likely invalid, please report this issue."));
|
("Configuration is most likely invalid, please report this issue."));
|
||||||
|
|
Loading…
Reference in a new issue