dbghelp/dwarf: Don't unmap the fmap of a DWZ module twice.

Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Eric Pouech 2021-11-22 15:20:13 +01:00 committed by Alexandre Julliard
parent 0bbb161c41
commit 441838b7b2

View file

@ -4131,7 +4131,6 @@ static void dwarf2_unload_dwz(dwarf2_dwz_alternate_t* dwz)
image_unmap_section(&dwz->sectmap[section_line]);
image_unmap_section(&dwz->sectmap[section_ranges]);
image_unmap_file(dwz->fmap);
HeapFree(GetProcessHeap(), 0, dwz);
}