[Top][All Lists]

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

Re: readlink, getcwd memory leaks

From: Marius Vollmer
Subject: Re: readlink, getcwd memory leaks
Date: Sun, 25 Apr 2004 01:42:15 +0200
User-agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3 (gnu/linux)

Kevin Ryde <address@hidden> writes:

> Marius Vollmer <address@hidden> writes:
>> (There still will be a memory leak when scm_mem2string throws, but that
>>  is very unlikely...)
> I was thinking about that after Dirk changed scm_gethostbyname.  Looks
> like a lot of potential places like that, and no fun to try to tighten
> them up :-(.

Yes.  Maybe we should just disallow out-of-memory throws.  There is no
real point for them: Guile likely can't continue anyway.

GPG: D5D4E405 - 2F9B BCCC 8527 692A 04E3  331E FAF8 226A D5D4 E405

reply via email to

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