Subj : Re: Serializing JavaScript in spidermonkey To : Marcello Bastea-Forte From : Brendan Eich Date : Thu Jan 01 2004 04:46 pm Marcello Bastea-Forte wrote: > /* Do I need to free the string (ret) somehow, here? Or does the > gc deal with it automatically? (my guess is the latter, but better to > know if I'm doing something wrong at this point than later. */ Strings are GC'd in SpiderMonkey, as are objects and jsdoubles allocated transiently for values that don't fit in jsvals as 31-bit integers. /be .