Closed Bug 3740 Opened 26 years ago Closed 26 years ago

MLK: nsISupportsArray leak from RDF

Categories

(Core Graveyard :: RDF, defect, P3)

defect

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: bruce, Assigned: waterson)

Details

MLK: 36 bytes leaked at 0xfb28e0 * This memory was allocated from: malloc [rtlib.o] __bUiLtIn_nEw [libgcc.a] __builtin_new [rtlib.o] NS_NewISupportsArray(nsISupportsArray**) [nsSupportsArray.cpp:352] nsRDFDOMNodeList::Init() [nsRDFDOMNodeList.cpp:288] nsRDFDOMNodeList::Create(nsRDFDOMNodeList**) [nsRDFDOMNodeList.cpp:162] RDFElementImpl::GetChildNodes(nsIDOMNodeList**) [nsRDFElement.cpp:554] RDFElementImpl::GetElementsByTagName(nsIDOMNode*,const nsString&,nsRDFDOMNodeList*) [nsRDFElement.cpp:2424] RDFElementImpl::GetElementsByTagName(const nsString&,nsIDOMNodeList**) [nsRDFElement.cpp:904] RDFElementImpl::ExecuteOnChangeHandler(nsIDOMElement*,const nsString&) [nsRDFElement.cpp:2341] RDFElementImpl::SetAttribute(int,nsIAtom*,const nsString&,int) [nsRDFElement.cpp:1722] RDFXULBuilderImpl::AddAttribute(nsIContent*,nsIRDFResource*,nsIRDFNode*) [nsRDFXULBuilder.cpp:1831] RDFXULBuilderImpl::OnAssert(nsIRDFResource*,nsIRDFResource*,nsIRDFNode*) [nsRDFXULBuilder.cpp:739] CompositeDataSourceImpl::OnAssert(nsIRDFResource*,nsIRDFResource*,nsIRDFNode*) [nsCompositeDataSource.cpp:1002] InMemoryDataSource::Assert(nsIRDFResource*,nsIRDFResource*,nsIRDFNode*,int) [nsInMemoryDataSource.cpp:1243] CompositeDataSourceImpl::Assert(nsIRDFResource*,nsIRDFResource*,nsIRDFNode*,int) [nsCompositeDataSource.cpp:736] RDFXULBuilderImpl::OnSetAttribute(nsIDOMElement*,const nsString&,const nsString&) [nsRDFXULBuilder.cpp:1223] XULDocumentImpl::OnSetAttribute(nsIDOMElement*,const nsString&,const nsString&) [nsXULDocument.cpp:2798] RDFElementImpl::SetAttribute(const nsString&,const nsString&) [nsRDFElement.cpp:829] setAttribute(nsIWebShell*,const char*,const char*,const nsString&) [nsBrowserAppCore.cpp:527] nsBrowserAppCore::EndLoadURL(nsIWebShell*,const unsigned short*,int) [nsBrowserAppCore.cpp:571] nsWebShell::OnConnectionsComplete() [nsWebShell.cpp:2116] nsDocLoaderImpl::AreAllConnectionsComplete() [nsDocLoader.cpp:1343] nsDocLoaderImpl::LoadURLComplete(nsIURL*,nsISupports*,int) [nsDocLoader.cpp:1312] nsDocumentBindInfo::OnStopBinding(nsIURL*,unsigned int,const unsigned short*) [nsDocLoader.cpp:1818] stub_complete(_NET_StreamClass*) [nsStubContext.cpp:585] net_MemCacheComplete [mkmemcac.c:724] net_ProcessHTTP [mkhttp.c:3523] NET_ProcessNet [mkgeturl.c:3371] NET_PollSockets [mkselect.c:298]
Set target milestone to M4.
Accepted bug to get of terry's spambot.
Set target milestone to M5.
Bruce: I think that I fixed this last night. Could you take a look?
Status: ASSIGNED → RESOLVED
Closed: 26 years ago
Resolution: --- → FIXED
I'm pretty sure I fixed this with my checkin last night: I discovered an extra addref to the childnodes array.
Status: RESOLVED → VERIFIED
marking verified, per chris's comments
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.