From a616807cd6aa91029f11def2d57bca769af819f0 Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Mon, 16 Jun 2008 20:01:42 +0300 Subject: [PATCH] Fix Memory leak: free proxy_factory even when buffer for asprintf can not be assigned MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Rémi Denis-Courmont --- modules/access/http.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/access/http.c b/modules/access/http.c index e397a1f800..78762c1ad4 100644 --- a/modules/access/http.c +++ b/modules/access/http.c @@ -343,8 +343,8 @@ static int OpenWithCookies( vlc_object_t *p_this, vlc_array_t *cookies ) for(i=0;proxies[i];i++) free(proxies[i]); free(proxies); free(buf); - px_proxy_factory_free(pf); } + px_proxy_factory_free(pf); } else { -- 2.39.2