Biatrice Philippe wrote:
Hi ! my standalone windows application performs a lot of recursivity functions (for frames, nodes...), and it allocates many nsString variables in these functions. I tried to release them with "nsMemory::free()" or "free", but it crashes (because of recursivity ??). And if i don't think to release them, it remains many "leaks" (about 320 000 for two pages loaded only) at the end when my application exits. So i believe my heap memory will crash very soon.
Any idea about a solution ?
Thanks a lot.
How are you allocating them? nsString is just a class. If you allocate an instance with operator new, then you will need to use operator free to destroy the instance.
-Darin _______________________________________________ mozilla-embedding mailing list [EMAIL PROTECTED] http://mail.mozilla.org/listinfo/mozilla-embedding
