Hello !
still looking for any solution for freeing memory after using recursives
functions (dumping frames, dumping nodes ...)
i've declared all variables in static mode to reuse them. But for dumping
frames or nodes, it appears i'm not allowed
to reuse a static variable; i must instanciate a new "nsIFrame *" object
each time i want to get childs of a particular frame. (the problem is the
same for nodes in the dom). And if i try to destroy the nsiFrame object  ->
it crashes !

So here are all remaining allocations xpcom tells me at the end of my
application:

only for one page loaded:
  => mAllocCount: 53380
 => mReallocCount: 4737
 => mFreeCount: 52431
 => mShareCount: 33670
 => mAdoptCount: 1984
 => mAdoptFreeCount: 1908

please, i need help.

thank you.
-- 
B�atrice Philippe

[EMAIL PROTECTED]


_______________________________________________
mozilla-embedding mailing list
[EMAIL PROTECTED]
http://mail.mozilla.org/listinfo/mozilla-embedding

Reply via email to