bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#15802: 24.3.50; PUSH_HANDLER leaks memory?


From: Stefan Monnier
Subject: bug#15802: 24.3.50; PUSH_HANDLER leaks memory?
Date: Mon, 04 Nov 2013 21:48:19 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

> That must be a leak then.  If you start with a NULL handlerlist, add one,
> and then remove it, it is leaked.  Then add one and remove, more leakage.
> And so on.  Why are they never released?

You might be right that the NULL case is not handled.
Once we move past NULL, they are still not freed, but they're kept in
"nextfree" and hence reused.


        Stefan





reply via email to

[Prev in Thread] Current Thread [Next in Thread]