Guile Mailing List Archive

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

Re: scm_must_malloc and memory leaking?



forcer <forcer@mindless.com> writes:

> Hmm...
> When using
> 
> 	f = scm_must_malloc(sizeof(some_struct));
> 	f->data = scm_must_malloc(size);
> 
> and there won't be enough free memory for the second
> scm_must_malloc even after gc, the allocated memory in f is
> lost and won't be free'd. Is that true? 

Nope.


-- 
Greg

Guile Home | Main Index | Thread Index