1
0
Fork 0
mirror of synced 2025-03-07 03:53:26 +01:00

wininet: Fix memory leak when loading proxy information.

This commit is contained in:
Piotr Caban 2024-02-27 14:15:17 +01:00 committed by Alexandre Julliard
parent 29f73d6669
commit da84d77353

View file

@ -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 );