--- Comment #8 from Andrew Pinski <pinskia at gcc dot> ---
(In reply to frankhb1989 from comment #7)
> This is definitely a leak from the view of libc. Why is the status INVALID
> instead of WONTFIX?

It is still reachable.  Since it is reachable, a pointer at deconstructor time
could use it.  This pool is used to low memory situations.  And can be used
even near exit.  There is no leak; a leak means it is no longer reachable.
Most programs will not free some of their memory at the end of their program
anyways; they would just call exit.

Reply via email to