https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88063

--- Comment #9 from Tom de Vries <vries at gcc dot gnu.org> ---
Created attachment 45059
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45059&action=edit
Second followup patch

> [ OTOH, that's a memory leak in the fail
> case, but corresponds to unused memory in the success case, so we might
> wanna fix that as well, by keeping track of the number of struct unit_addr
> found, and freeing the struct unit at the end of the 'while (info.left > 0)'
> loop when it's 0. Perhaps that's worth a seperate patch. ]

Patch implementing this memory optimization.

Reply via email to