mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 11:26:10 +00:00
Don't use freed memory.
This commit is contained in:
parent
0aa22f989b
commit
765b92f9ed
1 changed files with 1 additions and 1 deletions
|
@ -1229,8 +1229,8 @@ BOOL WINAPI GetUrlCacheEntryInfoW(LPCWSTR lpszUrl,
|
|||
if (!URLCache_FindEntryInHash(pHeader, lpszUrlA, &pEntry))
|
||||
{
|
||||
URLCacheContainer_UnlockIndex(pContainer, pHeader);
|
||||
HeapFree(GetProcessHeap(), 0, lpszUrlA);
|
||||
WARN("entry %s not found!\n", debugstr_a(lpszUrlA));
|
||||
HeapFree(GetProcessHeap(), 0, lpszUrlA);
|
||||
SetLastError(ERROR_FILE_NOT_FOUND);
|
||||
return FALSE;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue