Subj : Re: problem on JS_GetStringBytes(str) To : lyg From : Brendan Eich Date : Mon Feb 16 2004 11:47 am lyg wrote: > when i call the JS_GetStringBytes(str), the js engine call >DefaultAllocTable() in which there is a malloc operation, but >DefaultFreeTable() in which there is a free operation have never been called >when i exit my app. Why? > When and how the DefaultFreeTable() is called? >thanksŁĄ > > You must be forgetting to call JS_ShutDown before you exit, and after any other JS API call. /be .