libbacktrace: don't free ELF strtab if error occurs after saving syminfo
authorIan Lance Taylor <iant@golang.org>
Wed, 19 Feb 2020 18:30:51 +0000 (10:30 -0800)
committerIan Lance Taylor <iant@golang.org>
Sat, 9 May 2020 23:12:48 +0000 (16:12 -0700)
commit8600440e1479a8bd0394509b86a4d85d98ca6c8a
tree7bdf99cf8b1ff1ce508c3b9d8e5dcbbfcdc74938
parentdea40c941a4d443d1b748bafb8a74f02c360e810
libbacktrace: don't free ELF strtab if error occurs after saving syminfo

* elf.c (elf_add): Don't free strtab if an error occurs after
recording symbol information.
libbacktrace/ChangeLog
libbacktrace/elf.c