Commit 2c880e52 authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

winhttp: Use proper deallocator (Coverity).

parent 4def66c1
......@@ -1612,11 +1612,11 @@ done:
heap_free( hdr );
if (!ret)
{
heap_free( config->lpszAutoConfigUrl );
GlobalFree( config->lpszAutoConfigUrl );
config->lpszAutoConfigUrl = NULL;
heap_free( config->lpszProxy );
GlobalFree( config->lpszProxy );
config->lpszProxy = NULL;
heap_free( config->lpszProxyBypass );
GlobalFree( config->lpszProxyBypass );
config->lpszProxyBypass = NULL;
}
return ret;
......
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