]> git.ipfire.org Git - thirdparty/elfutils.git/commit
libdwfl: Fix memory leak in find_debuginfo_in_path.
authorMark Wielaard <mjw@redhat.com>
Sat, 6 Jun 2015 21:40:42 +0000 (23:40 +0200)
committerMark Wielaard <mjw@redhat.com>
Tue, 9 Jun 2015 20:55:13 +0000 (22:55 +0200)
commit73b186aa6e9f3ddf2dd6963f55e678e8e954eb03
tree0e6f572c3fec77112cb6eda81a6a91c3703e3716
parent93d895970ddd4cd9c0392ab16bad94def1a8ff70
libdwfl: Fix memory leak in find_debuginfo_in_path.

commit c4f133 libdwfl: find_debuginfo_in_patch don't alloca/strdupa
strings of unknown size. Introduced a memory leak in the case nothing
was found. Make sure before returning all temporary strings are all
freed.

Signed-off-by: Mark Wielaard <mjw@redhat.com>
libdwfl/ChangeLog
libdwfl/find-debuginfo.c