mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-06 06:50:30 +00:00
wininet: Fix a memory leak.
Found by Valgrind.
This commit is contained in:
parent
5d8861b084
commit
e5180c101b
|
@ -3592,6 +3592,7 @@ static DWORD HTTP_HttpSendRequestW(http_request_t *lpwhr, LPCWSTR lpszHeaders,
|
||||||
lpwhr->lpHttpSession->lpszPassword,
|
lpwhr->lpHttpSession->lpszPassword,
|
||||||
Host->lpszValue))
|
Host->lpszValue))
|
||||||
{
|
{
|
||||||
|
HeapFree(GetProcessHeap(), 0, requestString);
|
||||||
loop_next = TRUE;
|
loop_next = TRUE;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue