https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88063
--- Comment #2 from Tom de Vries <vries at gcc dot gnu.org> --- (In reply to Tom de Vries from comment #0) > However, the allocation and deallocation is done in a loop over units, so if > find_address_ranges succeeds for the first unit, but fails for the second, > then only the first struct unit is freed, and the second struct unit is > leaked. Sorry, that should be the other way around: "then only the second struct unit is freed, and the first struct unit is leaked. "