https://sourceware.org/bugzilla/show_bug.cgi?id=26388

--- Comment #1 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot 
gnu.org> ---
The master branch has been updated by Alan Modra <amo...@sourceware.org>:

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=82fcdb39388c6690699d41b7022b054c2de2554c

commit 82fcdb39388c6690699d41b7022b054c2de2554c
Author: Alan Modra <amo...@gmail.com>
Date:   Fri Aug 14 20:19:39 2020 +0930

    PR26388, objdump debug dump memory leaks

    num_debug_info_entries is used not just as a count but also as a flag
    (DEBUG_INFO_UNAVAILABLE) after some errors.  That means
    num_debug_info_entries can't be used when cleaning up malloc'd info.

            PR 26388
            * dwarf.c (free_debug_memory): Free alloc_num_debug_info_entries
            of debug_information.  Correct test of max_loc_offsets and
            max_range_lists.
            * rddbg.c (read_debugging_info): Free dhandle on error.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Reply via email to