On Apr 23, 8:41 am, Christian Biesinger <[EMAIL PROTECTED]> wrote: > > Since one is allocating memory, do I need to nsMemory::Free it? The > > return ends up in JS space ... so will the memory be handled > > automagically by XPConnect/Glue? > > Yes, if JavaScript calls your function, XPConnect will handle the > freeing. (If you wanted to call it from C++, you'd have to do it yourself) >
Fantastic ... thanks! _______________________________________________ dev-tech-xpcom mailing list [email protected] https://lists.mozilla.org/listinfo/dev-tech-xpcom
