mirror of
https://github.com/tobast/libunwind-eh_elf.git
synced 2025-03-12 03:00:09 +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);
|
free(freep);
|
||||||
return (rc);
|
return (rc);
|
||||||
}
|
}
|
||||||
|
free(freep);
|
||||||
return (-1);
|
return (-1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue