mirror of
https://github.com/tobast/libunwind-eh_elf.git
synced 2025-02-02 12:52:53 +01:00
Fix memory leak on error
This commit is contained in:
parent
4b3ca293bf
commit
c1b1c10cfc
1 changed files with 1 additions and 0 deletions
|
@ -55,6 +55,7 @@ tdep_get_elf_image (struct elf_image *ei, pid_t pid, unw_word_t ip,
|
|||
free(freep);
|
||||
return (rc);
|
||||
}
|
||||
free(freep);
|
||||
return (-1);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue