Closed Bug 111781 Opened 24 years ago Closed 24 years ago

[W] MLK: Memory leak of 165 bytes from 3 blocks allocated in PR_Malloc

Categories

(SeaMonkey :: General, defect)

x86
Windows NT
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 106860

People

(Reporter: naving, Assigned: brendan)

Details

1) launch mozilla -mail (imap acct) 2) send mail using compose recycle pref on 2) exit Distribution of leaked blocks Allocation location malloc [dbgheap.c:129] PR_Malloc [prmem.c:54] nsMemoryImpl::Alloc(UINT) [nsMemoryImpl.cpp:320] NS_IMETHODIMP_(void *) nsMemoryImpl::Alloc(PRSize size) { => void* result = MALLOC1(size); if (! result) { // Request an asynchronous flush FlushMemory(NS_LITERAL_STRING("alloc-failure").get(), PR_FALSE); nsMemory::Clone(void const*,UINT) [nsMemoryImpl.cpp:592] if (gMemory == nsnull) { EnsureGlobalMemoryService(); } => void* newPtr = gMemory->Alloc(size); if (newPtr) memcpy(newPtr, ptr, size); return newPtr; nsFastLoadFileUpdater::CopyReadDocumentMapEntryToUpdater(PLDHashTable *,PLDHashEntryHdr *,UINT,void *) [nsFastLoadFile.cpp:2217] PL_DHashTableEnumerate [pldhash.c:601] while (entryAddr < entryLimit) { entry = (PLDHashEntryHdr *)entryAddr; if (ENTRY_IS_LIVE(entry)) { => op = etor(table, entry, i++, arg); if (op & PL_DHASH_REMOVE) { METER(table->stats.removeEnums++); PL_DHashTableRawRemove(table, entry); nsFastLoadFileUpdater::Open(nsFastLoadFileReader *) [nsFastLoadFile.cpp:2304] // If we didn't enumerate all entries, we ran out of memory. n = PL_DHashTableEnumerate(&aReader->mFooter.mDocumentMap, CopyReadDocumentMapEntryToUpdater, => this); if (n != aReader->mFooter.mDocumentMap.entryCount) return NS_ERROR_OUT_OF_MEMORY; NS_NewFastLoadFileUpdater(nsIObjectOutputStream * *,nsIOutputStream *,nsIObjectInputStream *) [nsFastLoadFile.cpp:2366] nsFastLoadService::StartMuxedDocument(nsISupports *,char const*,int) [nsFastLoadService.cpp:266] nsXULDocument::PrepareToLoadPrototype(nsIURI *,char const*,nsIPrincipal *,nsIParser * *) [nsXULDocument.cpp:5203]
*** This bug has been marked as a duplicate of 106860 ***
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → DUPLICATE
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.