Subj : Re: Which objects need to be deleted? To : netscape.public.mozilla.jseng From : "Yuraukar" Date : Tue Sep 30 2003 01:58 pm > > Don't delete anything. JS is garbage collected. Have you read the docs > at http://www.mozilla.org/js/spidermonkey/ yet? Especially gctips.html? > Ok, well understood it for JS data types / objects. I was mislead by the JS_GetStringBytes function, as it returns an ordinary char* ,which cannot possibly be GCed on its own. But the API doc states that it will be deleted together with its JSString object. - Fine. Yuraukar .