wininet: Fix a memory leak.

This commit is contained in:
Hans Leidekker 2008-07-19 19:52:47 +02:00 committed by Alexandre Julliard
parent da5e4f16d8
commit e3e2622e41
1 changed files with 3 additions and 0 deletions

View File

@ -3833,7 +3833,10 @@ lend:
if (bSuccess) if (bSuccess)
return rc; return rc;
else else
{
HeapFree(GetProcessHeap(), 0, lpszRawHeaders);
return 0; return 0;
}
} }