]> git.ipfire.org Git - thirdparty/elfutils.git/commit
libdwfl: Fix various frame related memory leaks.
authorMark Wielaard <mjw@redhat.com>
Sat, 14 Dec 2013 14:02:56 +0000 (15:02 +0100)
committerMark Wielaard <mjw@redhat.com>
Mon, 16 Dec 2013 08:03:22 +0000 (09:03 +0100)
commite6e6cc83ea27413facb310ce48bebb1579a47130
tree2adebd93be5b6af838c70c718047ad3eb5383372
parent5cbf42aaf47195e2c41171786371d55b253a7667
libdwfl: Fix various frame related memory leaks.

The result of dwarf_cfi_addrframe should have been freed when done.
Dwfl_Module cached the reloc_info and the eh_cfi it which also should
have been released when disposing of the module.

Reported-by: Masatake YAMATO <yamato@redhat.com>
Tested-by: Masatake YAMATO <yamato@redhat.com>
Signed-off-by: Mark Wielaard <mjw@redhat.com>
libdwfl/ChangeLog
libdwfl/dwfl_module.c
libdwfl/frame_unwind.c