Re: Question on memory management

Boris Zbarsky <[email protected]> Mon, 06 Jan 2003 02:15:07 -0600
Newsgroups gmane.comp.mozilla.devel.embedding,gmane.comp.mozilla.devel.xpcom,gmane.comp.mozilla.devel.java
Organization Another Netscape Collabra Server User
Message-ID <[email protected]>
jml wrote:
> (does this mean that both the caller and callee 
> must use the nsIMemory to manage the memory used by the nsAString?)

nsAC?String typically does its own memory management; just destroying 
the object should clean up its internal buffers and such.