]> git.ipfire.org Git - thirdparty/elfutils.git/commit
libdwfl: Fix memory leak in proc_maps_report on bad file mapping.
authorMark Wielaard <mjw@redhat.com>
Thu, 14 Apr 2016 19:32:55 +0000 (21:32 +0200)
committerMark Wielaard <mjw@redhat.com>
Thu, 14 Apr 2016 19:32:55 +0000 (21:32 +0200)
commit2eedce110ac090c55aed4756152b6deb16229cdd
tree9a7cfab75c3d200a2e39bccec642647d5e8d0a97
parentf7f45ed580029d80e6cf5bcfa5d5445af797e363
libdwfl: Fix memory leak in proc_maps_report on bad file mapping.

Normally last_file is freed inside report(), but in the case of a bad
file mapping we don't call report.

Signed-off-by: Mark Wielaard <mjw@redhat.com>
libdwfl/ChangeLog
libdwfl/linux-proc-maps.c