This is the mail archive of the guile@cygnus.com mailing list for the guile project.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
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? and if yes, how can i prevent it? (no i don't think inserting an error handler in C would be a good idea) -forcer -- ((email . "forcer@mindless.com") (www . "http://webserver.de/forcer/") (irc . "forcer@#StarWars (IRCnet)") (pgp . "key available on my website"))