Module: wine Branch: master Commit: 4c97910387cc72bc1e7e600fc71aa8b285dae31e URL: http://source.winehq.org/git/wine.git/?a=commit;h=4c97910387cc72bc1e7e600fc7...
Author: Paul Bolle pebolle@tiscali.nl Date: Wed Oct 28 13:47:15 2009 +0100
dbghelp: elf_load_file: return if elf_map_file fails.
---
dlls/dbghelp/elf_module.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/dbghelp/elf_module.c b/dlls/dbghelp/elf_module.c index 6c79c8b..34d4560 100644 --- a/dlls/dbghelp/elf_module.c +++ b/dlls/dbghelp/elf_module.c @@ -1063,7 +1063,7 @@ static BOOL elf_load_file(struct process* pcs, const WCHAR* filename,
TRACE("Processing elf file '%s' at %08lx\n", debugstr_w(filename), load_offset);
- if (!elf_map_file(filename, &fmap)) goto leave; + if (!elf_map_file(filename, &fmap)) return ret;
/* Next, we need to find a few of the internal ELF headers within * this thing. We need the main executable header, and the section