From: Vincent Penquerc'h Date: Wed, 15 Apr 2015 10:38:35 +0000 (+0100) Subject: Revert "basesrc: fix pool leak on allocation query error path" X-Git-Tag: 1.6.1~386 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6240b03085bc29e098a2c298e5b61ebed0ddf6f2;p=platform%2Fupstream%2Fgstreamer.git Revert "basesrc: fix pool leak on allocation query error path" This reverts commit 84fdf50b2f98951a32fa14802b62621f1105cd35. It seems the bug was fixed independently, and the merge was automagic, yielding two extra free calls. --- diff --git a/libs/gst/base/gstbasesrc.c b/libs/gst/base/gstbasesrc.c index ecb77fb..1d8cc58 100644 --- a/libs/gst/base/gstbasesrc.c +++ b/libs/gst/base/gstbasesrc.c @@ -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."));