From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kenichi Handa Newsgroups: gmane.emacs.devel Subject: Re: Memory leak Date: Fri, 23 May 2008 11:24:44 +0900 Message-ID: References: <85lk2b1829.fsf@lola.goethe.zz> <482CD48E.3020601@gmail.com> <482D8332.5030908@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya") Content-Type: text/plain; charset=US-ASCII X-Trace: ger.gmane.org 1211509530 933 80.91.229.12 (23 May 2008 02:25:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 23 May 2008 02:25:30 +0000 (UTC) Cc: eliz@gnu.org, emacs-devel@gnu.org, lennart.borgman@gmail.com, monnier@IRO.UMontreal.CA, jasonr@gnu.org To: YAMAMOTO Mitsuharu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri May 23 04:26:06 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JzMys-0007qi-37 for ged-emacs-devel@m.gmane.org; Fri, 23 May 2008 04:26:06 +0200 Original-Received: from localhost ([127.0.0.1]:56204 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JzMy7-0000rs-JU for ged-emacs-devel@m.gmane.org; Thu, 22 May 2008 22:25:19 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JzMy2-0000rf-VO for emacs-devel@gnu.org; Thu, 22 May 2008 22:25:15 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JzMxz-0000rQ-I5 for emacs-devel@gnu.org; Thu, 22 May 2008 22:25:13 -0400 Original-Received: from [199.232.76.173] (port=44050 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JzMxz-0000rN-Bb for emacs-devel@gnu.org; Thu, 22 May 2008 22:25:11 -0400 Original-Received: from mx1.aist.go.jp ([150.29.246.133]:59435) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JzMxi-0002Dm-Hh; Thu, 22 May 2008 22:24:55 -0400 Original-Received: from rqsmtp1.aist.go.jp (rqsmtp1.aist.go.jp [150.29.254.115]) by mx1.aist.go.jp with ESMTP id m4N2OiwB015080; Fri, 23 May 2008 11:24:44 +0900 (JST) env-from (handa@m17n.org) Original-Received: from smtp1.aist.go.jp by rqsmtp1.aist.go.jp with ESMTP id m4N2Ok6V019815; Fri, 23 May 2008 11:24:46 +0900 (JST) env-from (handa@m17n.org) Original-Received: by smtp1.aist.go.jp with ESMTP id m4N2Oidb000300; Fri, 23 May 2008 11:24:44 +0900 (JST) env-from (handa@m17n.org) Original-Received: from handa by etlken.m17n.org with local (Exim 4.69) (envelope-from ) id 1JzMxY-0005Hv-Ne; Fri, 23 May 2008 11:24:44 +0900 In-reply-to: (message from YAMAMOTO Mitsuharu on Mon, 19 May 2008 20:59:26 +0900) User-Agent: SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.2 Emacs/23.0.60 (i686-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO) X-detected-kernel: by monty-python.gnu.org: Solaris 9 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:97550 Archived-At: In article , YAMAMOTO Mitsuharu writes: > So, `free_entity' is supposed to be still valid. Then I think > the entities deleted in `font_delete_unmatched' need to be freed > as they are not kept in the cache. > Also, there are some suspected leaks in font-related code: > * `names' in xfont_list_pattern. > * `charset' in ftfont_spec_pattern when it is created from > Vscript_representative_chars. Thank you for finding these bugs. I fixed them. --- Kenichi Handa handa@ni.aist.go.jp