[gambit-list] Who must free the string memory?

Jeremie Lasalle Ratelle pouexmachinax at gmail.com
Wed Mar 11 10:00:57 EDT 2009


>     Everytime tsk_home_dir is called it allocates a new string. Who
> must free this memory? C or Scheme?<https://webmail.iro.umontreal.ca/mailman/listinfo/gambit-list>
>

>From the gambit-c manual : Any C string type passed to the Scheme
environment causes the creation of a fresh Scheme string containing a copy
of the C string...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.iro.umontreal.ca/pipermail/gambit-list/attachments/20090311/52e60630/attachment.htm>


More information about the Gambit-list mailing list