dbghelp: Fix use of GetProcessHeap.
This commit is contained in:
parent
0cffcb77d6
commit
5da1ecef3a
|
@ -274,7 +274,7 @@ static BOOL elf_map_file(const WCHAR* filenameW, struct image_file_map* fmap)
|
|||
{
|
||||
if (read(fmap->u.elf.fd, &fmap->u.elf.sect[i].shdr, sizeof(fmap->u.elf.sect[i].shdr)) != sizeof(fmap->u.elf.sect[i].shdr))
|
||||
{
|
||||
HeapFree(GetProcessHeap, 0, fmap->u.elf.sect);
|
||||
HeapFree(GetProcessHeap(), 0, fmap->u.elf.sect);
|
||||
fmap->u.elf.sect = NULL;
|
||||
goto done;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue