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

Mark Wielaard <mark at klomp dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|ASSIGNED                    |RESOLVED

--- Comment #19 from Mark Wielaard <mark at klomp dot org> ---
I hope this (plus the other changes to dwarf_getscopes) will fix the original
issue too. It should be part of 0.189 (which should be released this week). If
it didn't solve the issue please feel free to reopen this bug or file a new
one.

commit e24d8a4a3ea106608bb3e8d33c4639cf71d0f08d
Author: Mark Wielaard <m...@klomp.org>
Date:   Wed Feb 22 23:34:00 2023 +0100

    libdw: Fix dwarf_getscopes memory leak on error

    When there is an error in dwarf_getscopes after the initial scopes
    have been allocated, e.g. when looking for the inlined scopes, then
    the scopes would leak. Fix this by explicitly free the scopes on error.

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

    Signed-off-by: Mark Wielaard <m...@klomp.org>

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

Reply via email to