unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: "Jan Djärv" <jan.h.d@me.com>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: 15802@debbugs.gnu.org
Subject: bug#15802: 24.3.50; PUSH_HANDLER leaks memory?
Date: Mon, 04 Nov 2013 22:49:13 +0100	[thread overview]
Message-ID: <54B313E1-5371-402E-A84C-246D3629F087@me.com> (raw)
In-Reply-To: <jwv61s8hqud.fsf-monnier+emacsbugs@gnu.org>

Hello.

4 nov 2013 kl. 21:10 skrev Stefan Monnier <monnier@iro.umontreal.ca>:

>> While running leaks on OSX, it indicated that PUSH_HANDLER.  I can't find anywhere where
>> handlerlist members are freed.
> 
> They're never freed.
> 

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?

	Jan D.






  reply	other threads:[~2013-11-04 21:49 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-04 18:32 bug#15802: 24.3.50; PUSH_HANDLER leaks memory? Jan Djärv
2013-11-04 20:10 ` Stefan Monnier
2013-11-04 21:49   ` Jan Djärv [this message]
2013-11-05  2:48     ` Stefan Monnier
2013-11-05  6:53       ` Jan Djärv
2013-11-05 16:28         ` Stefan Monnier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=54B313E1-5371-402E-A84C-246D3629F087@me.com \
    --to=jan.h.d@me.com \
    --cc=15802@debbugs.gnu.org \
    --cc=monnier@iro.umontreal.ca \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).