wininet: Fix memory leak when loading proxy information.
This commit is contained in:
parent
29f73d6669
commit
da84d77353
1 changed files with 1 additions and 0 deletions
|
@ -710,6 +710,7 @@ static LONG load_connection_settings( HKEY key, const WCHAR *connection, proxyin
|
|||
res = connection_settings_read( settings, &pos, size, &lpwpi->proxyBypass );
|
||||
if (!res)
|
||||
res = connection_settings_read( settings, &pos, size, &lpwpi->autoconf_url );
|
||||
free( settings );
|
||||
if (res)
|
||||
{
|
||||
FreeProxyInfo( lpwpi );
|
||||
|
|
Loading…
Add table
Reference in a new issue