commit | 69d68dd50282469ddc45fc462a2506176b8f3289 | [log] [tgz] |
---|---|---|
author | Mark Wielaard <mjw@redhat.com> | Tue Dec 01 23:11:55 2015 +0100 |
committer | Mark Wielaard <mjw@redhat.com> | Sat Jan 02 20:37:45 2016 +0100 |
tree | 99043668ab9453d8e626248e076f3f0da12a791b | |
parent | 355b408bb9aa49703544fa4086e1ae463737fcf6 [diff] |
libdwfl: Fix memory leak in link_map.c dwfl_link_map_report. The phdrs buffer could come from the core file or through the executable. dwfl_link_map_report would leak the buffer if it came from the executable. Track where the buffer came from and free appropriately. Signed-off-by: Mark Wielaard <mjw@redhat.com>