From: Vincent Penquerc'h Date: Fri, 31 Mar 2017 14:59:19 +0000 (+0100) Subject: encodebin: fix list leak when requesting a new pad X-Git-Tag: 1.12.2~58 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9c8e700b91f586c050754d38684433be4427467f;p=platform%2Fupstream%2Fgst-plugins-base.git encodebin: fix list leak when requesting a new pad https://bugzilla.gnome.org/show_bug.cgi?id=780769 --- diff --git a/gst/encoding/gstencodebin.c b/gst/encoding/gstencodebin.c index 5e757f9..9910e80 100644 --- a/gst/encoding/gstencodebin.c +++ b/gst/encoding/gstencodebin.c @@ -755,6 +755,7 @@ request_pad_for_stream (GstEncodeBin * encodebin, GType ptype, if (!sgroup) goto no_stream_group; + g_list_free (not_found_encoder_profs); return sgroup->ghostpad; no_stream_profile: