Commit a616807c authored by Dominique Leuenberger's avatar Dominique Leuenberger Committed by Rémi Denis-Courmont

Fix Memory leak: free proxy_factory even when buffer for asprintf can not be assigned

Signed-off-by: default avatarRémi Denis-Courmont <rdenis@simphalempin.com>
parent 289f2391
...@@ -343,8 +343,8 @@ static int OpenWithCookies( vlc_object_t *p_this, vlc_array_t *cookies ) ...@@ -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]); for(i=0;proxies[i];i++) free(proxies[i]);
free(proxies); free(proxies);
free(buf); free(buf);
px_proxy_factory_free(pf);
} }
px_proxy_factory_free(pf);
} }
else else
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment