guile-devel
[Top][All Lists]
Advanced

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

Re: Memory leak in scm_c_eval_string?


From: Kevin Ryde
Subject: Re: Memory leak in scm_c_eval_string?
Date: Sat, 17 Dec 2005 10:16:01 +1100
User-agent: Gnus/5.110004 (No Gnus v0.4) Emacs/21.4 (gnu/linux)

"Michael J. Barillier" <address@hidden> 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.)




reply via email to

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