Hans Leidekker (@hans) commented about dlls/winhttp/session.c:
WinHttpCloseHandle( con ); WinHttpCloseHandle( ses ); free( hostname );
- AcquireSRWLockExclusive( &cache_lock );
- free( cached_url );
- free( cached_script );
- cached_url = wcsdup( url );
- cached_script_size = 0;
- cached_script = NULL;
Please check for allocation failure.