On Tue, Dec 01, 2015 at 11:17:22PM +0100, Mark Wielaard wrote:
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.
Pushed to master.