wininet: Fix a memory leak.

Found by Valgrind.
This commit is contained in:
Hans Leidekker 2010-01-05 14:47:37 +01:00 committed by Alexandre Julliard
parent 5d8861b084
commit e5180c101b

View file

@ -3592,6 +3592,7 @@ static DWORD HTTP_HttpSendRequestW(http_request_t *lpwhr, LPCWSTR lpszHeaders,
lpwhr->lpHttpSession->lpszPassword,
Host->lpszValue))
{
HeapFree(GetProcessHeap(), 0, requestString);
loop_next = TRUE;
break;
}