From: Eric Pouech <epouech(a)codeweavers.com> Regression introduced in 2509fc6ef0e7510eb5bb5ff407483a46255f6b2c Signed-off-by: Eric Pouech <epouech(a)codeweavers.com> --- dlls/dbghelp/dwarf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/dbghelp/dwarf.c b/dlls/dbghelp/dwarf.c index bd1759c99ea..3fc3ec2bb45 100644 --- a/dlls/dbghelp/dwarf.c +++ b/dlls/dbghelp/dwarf.c @@ -4397,7 +4397,7 @@ leave: image_unmap_section(&debug_str_sect); image_unmap_section(&debug_line_sect); image_unmap_section(&debug_ranges_sect); - if (!ret) image_unmap_section(&eh_frame_sect); + if (!module->format_info[DFI_DWARF]) image_unmap_section(&eh_frame_sect); return ret; } -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/9308