emacs-devel
[Top][All Lists]
Advanced

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

Re: problem report #97: base/src/emacs/src/term.c (init_tty): RESOURCE_L


From: Chong Yidong
Subject: Re: problem report #97: base/src/emacs/src/term.c (init_tty): RESOURCE_LEAK
Date: Mon, 08 Dec 2008 09:49:34 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

Chong Yidong <address@hidden> writes:

>> This looks like it's a problem, nothing keeps track of `area',
>> `delete_tty' does not free it, so this leaks 4KB per tty
>> creation/deletion, i.e. for each use of "emacsclient -t".
>
> Yes.  In fact, there are at least two other leaks in this part of the
> code.  I'm working on a patch to fix this.

Okay, I've plugged this leak and the two others.

Now, each terminal frame is still leaking about 9KB (before, it was
leaking about 15 KB).  So there is still a bug somewhere.




reply via email to

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