wininet: Fix a request string leak.

This commit is contained in:
Hans Leidekker 2013-04-22 11:02:09 +02:00 committed by Alexandre Julliard
parent 0d623c784c
commit 578a1a6b26

View File

@ -4924,6 +4924,7 @@ static DWORD HTTP_HttpSendRequestW(http_request_t *request, LPCWSTR lpszHeaders,
request->session->appInfo->proxyPassword,
NULL))
{
heap_free(requestString);
if(!drain_content(request, TRUE)) {
FIXME("Could not drain content\n");
http_release_netconn(request, FALSE);