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:
Vincent Penquerc'h 2015-04-15 11:38:35 +01:00
parent be6d3e9255
commit 6240b03085

View file

@ -3112,7 +3112,6 @@ gst_base_src_decide_allocation_default (GstBaseSrc * basesrc, GstQuery * query)
return TRUE;
config_failed:
gst_object_unref (pool);
GST_ELEMENT_ERROR (basesrc, RESOURCE, SETTINGS,
("Failed to configure the buffer pool"),
("Configuration is most likely invalid, please report this issue."));