[Top][All Lists]

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

Re: readlink, getcwd memory leaks

From: Kevin Ryde
Subject: Re: readlink, getcwd memory leaks
Date: Wed, 28 Apr 2004 10:24:18 +1000
User-agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3 (gnu/linux)

Actually, one easy approach for some of these mallocing things might
be to hold the blocks in an SCM, rather than registering a frame
handler thingie.  If there's an error throw then the gc will pick up
the pieces.

scm_make_string or whatever does the trick for malloc, is there some
sort of scm_resize_string hiding?  Just for internal use (at least

reply via email to

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