From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: lexical-let cause memory leaks? Date: Mon, 30 Jan 2012 17:13:32 -0500 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1327961625 27017 80.91.229.3 (30 Jan 2012 22:13:45 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 30 Jan 2012 22:13:45 +0000 (UTC) Cc: emacs-devel@gnu.org To: =?utf-8?B?0JrQvtC90YHRgtCw0L3RgtC40L0g0JrRg9C70LjQutC+0LI=?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jan 30 23:13:44 2012 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RrzTn-0002Xv-W2 for ged-emacs-devel@m.gmane.org; Mon, 30 Jan 2012 23:13:40 +0100 Original-Received: from localhost ([::1]:41668 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RrzTm-0003lH-KS for ged-emacs-devel@m.gmane.org; Mon, 30 Jan 2012 17:13:38 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:47575) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RrzTj-0003l7-HH for emacs-devel@gnu.org; Mon, 30 Jan 2012 17:13:36 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RrzTh-0002Tf-S3 for emacs-devel@gnu.org; Mon, 30 Jan 2012 17:13:35 -0500 Original-Received: from pruche.dit.umontreal.ca ([132.204.246.22]:47192) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RrzTh-0002Ta-HO for emacs-devel@gnu.org; Mon, 30 Jan 2012 17:13:33 -0500 Original-Received: from faina.iro.umontreal.ca (lechon.iro.umontreal.ca [132.204.27.242]) by pruche.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id q0UMDW87016848; Mon, 30 Jan 2012 17:13:32 -0500 Original-Received: by faina.iro.umontreal.ca (Postfix, from userid 20848) id 3E3D8B4431; Mon, 30 Jan 2012 17:13:32 -0500 (EST) In-Reply-To: (=?utf-8?B?ItCa0L7QvdGB0YLQsNC90YLQuNC9INCa0YPQu9C40LrQvtCyIidz?= message of "Mon, 30 Jan 2012 19:09:47 +0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.92 (gnu/linux) X-NAI-Spam-Flag: NO X-NAI-Spam-Level: X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0.2 X-NAI-Spam-Rules: 2 Rules triggered GEN_SPAM_FEATRE=0.2, RV4117=0 X-NAI-Spam-Version: 2.2.0.9309 : core <4117> : streams <724359> : uri <1056754> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 132.204.246.22 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:148053 Archived-At: > http://stackoverflow.com/questions/9062580/when-does-emacs-lisps-lexical-let-leak-memory > So... Is it true, that "variables bound with lexical-let are never > released, even if they are never used"? Not that I know. Of course, this code is not bug-free, but I don't know of any concrete case that bumps into such a bug. Stefan