dbghelp: Fix use of GetProcessHeap.

This commit is contained in:
Paul Vriens 2010-09-21 13:01:54 +02:00 committed by Alexandre Julliard
parent 0cffcb77d6
commit 5da1ecef3a
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}