From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kevin Ryde Newsgroups: gmane.lisp.guile.devel Subject: Re: Memory leak in scm_c_eval_string? Date: Sat, 17 Dec 2005 10:16:01 +1100 Message-ID: <871x0cr5u6.fsf@zip.com.au> References: <877ja53v1c.fsf@shadizar.blackwolfinfosys.net> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1134775395 30154 80.91.229.2 (16 Dec 2005 23:23:15 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 16 Dec 2005 23:23:15 +0000 (UTC) Cc: guile-devel@gnu.org Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Sat Dec 17 00:23:14 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EnOsW-0000pd-Ap for guile-devel@m.gmane.org; Sat, 17 Dec 2005 00:20:44 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EnOtE-0005TY-Ke for guile-devel@m.gmane.org; Fri, 16 Dec 2005 18:21:28 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EnOox-0001uL-VJ for guile-devel@gnu.org; Fri, 16 Dec 2005 18:17:04 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EnOov-0001sW-AT for guile-devel@gnu.org; Fri, 16 Dec 2005 18:17:03 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EnOov-0001sQ-23 for guile-devel@gnu.org; Fri, 16 Dec 2005 18:17:01 -0500 Original-Received: from [61.8.0.84] (helo=mailout1.pacific.net.au) by monty-python.gnu.org with esmtp (Exim 4.34) id 1EnOrP-0004J0-E8 for guile-devel@gnu.org; Fri, 16 Dec 2005 18:19:36 -0500 Original-Received: from mailproxy1.pacific.net.au (mailproxy1.pacific.net.au [61.8.0.86]) by mailout1.pacific.net.au (8.13.4/8.13.4/Debian-3) with ESMTP id jBGNG8XJ010750; Sat, 17 Dec 2005 10:16:08 +1100 Original-Received: from localhost (ppp2919.dyn.pacific.net.au [61.8.41.25]) by mailproxy1.pacific.net.au (8.13.4/8.13.4/Debian-3) with ESMTP id jBGNG7TF003817; Sat, 17 Dec 2005 10:16:08 +1100 Original-Received: from gg by localhost with local (Exim 3.36 #1 (Debian)) id 1EnOnx-0000jV-00; Sat, 17 Dec 2005 10:16:01 +1100 Original-To: "Michael J. Barillier" Mail-Copies-To: never In-Reply-To: <877ja53v1c.fsf@shadizar.blackwolfinfosys.net> (Michael J. Barillier's message of "Fri, 16 Dec 2005 09:45:35 -0600") User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/21.4 (gnu/linux) X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.devel:5537 Archived-At: "Michael J. Barillier" writes: > > Am I needlessly worrying about this? Yep. When there are no more pointers to an object, it's reaped. > Will the list returned from scm_c_eval_string be garbage-collected, Yep. (I'd thought a couple of times it'd be nice to be able to explicitly gc an object, when you know for sure it's now inaccessible. Could get into a lot of trouble if it wasn't, but for temporary values in low level functions it might hold off a gc for a little longer.) _______________________________________________ Guile-devel mailing list Guile-devel@gnu.org http://lists.gnu.org/mailman/listinfo/guile-devel