mirror of
https://github.com/tobast/libunwind-eh_elf.git
synced 2024-11-16 13:18:12 +01:00
core: Fix memory leak in libunwind-coredump.
_UCD_destroy() was not freeing all variables from UCD_info.
This commit is contained in:
parent
0314ff8522
commit
152a96e291
1 changed files with 2 additions and 0 deletions
|
@ -44,7 +44,9 @@ _UCD_destroy (struct UCD_info *ui)
|
|||
close(phdr->backing_fd);
|
||||
}
|
||||
|
||||
free(ui->phdrs);
|
||||
free(ui->note_phdr);
|
||||
free(ui->threads);
|
||||
|
||||
free(ui);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue