Closed Bug 99132 Opened 24 years ago Closed 24 years ago

Memory leak of 96 bytes from 4 blocks allocated in nsCRT::strdup

Categories

(SeaMonkey :: MailNews: Address Book & Contacts, defect)

x86
Windows 2000
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: stephend, Assigned: Bienvenu)

References

Details

(Keywords: memory-leak)

Not sure if this is composition proper, or if this should go over to LDAP: MLK: Memory leak of 96 bytes from 4 blocks allocated in PL_strdup Distribution of leaked blocks 27 bytes from 1 block of 27 bytes (0x0ed34e88) 24 bytes from 1 block of 24 bytes (0x0eceda70) 23 bytes from 1 block of 23 bytes (0x0ed125a0) 22 bytes from 1 block of 22 bytes (0x0ed23fd0) Allocation location malloc+0xc [dbgheap.c:129 ip=0x002e3c3c] PL_strdup+0x75 [.\../../../../lib/libc/src/strdup.c:46 ip=0x004c15a5] nsCRT::strdup(char const*)+0x24 [.\..\..\dist\include\nsCRT.h:167 ip=0x1000e8c4] dir_GetPrefsFrom45Branch+0x517 [c:\moz_src\mozilla\mailnews\addrbook\src\nsDirPrefs.cpp:3263 ip=0x0fc2f297] DIR_GetServerPreferences(nsVoidArray * *)+0x3f3 [c:\moz_src\mozilla\mailnews\addrbook\src\nsDirPrefs.cpp:3332 ip=0x0fc2d753] DIR_GetDirServers(void)+0x141 [c:\moz_src\mozilla\mailnews\addrbook\src\nsDirPrefs.cpp:349 ip=0x0fc1d461] DIR_GetDirectories(void)+0x34 [c:\moz_src\mozilla\mailnews\addrbook\src\nsDirPrefs.cpp:334 ip=0x0fc1d2f4] nsAbBSDirectory::GetDirList(void)+0x34 [c:\moz_src\mozilla\mailnews\addrbook\src\nsAbBSDirectory.h:51 ip=0x0fb943a4] nsAbBSDirectory::GetChildNodes(nsIEnumerator * *)+0x1d5 [c:\moz_src\mozilla\mailnews\addrbook\src\nsAbBSDirectory.cpp:170 ip=0x0fb93775] nsAbAutoCompleteSession::SearchDirectory(nsString&,nsAbAutoCompleteSearchString *,nsIAutoCompleteResults *,int)+0x781 [c:\moz_src\mozilla\mailnews\addrbook\src\nsAbAutoCompleteSession.cpp:462 ip=0x0fbdbb61]
whoops, wrong component.
Component: Composition → Address Book
Keywords: mlk
and reassigning to default AB owner.
Assignee: ducarroz → chuang
QA Contact: sheelar → nbaca
changing qa over to myself.
QA Contact: nbaca → stephend
taking.
Assignee: chuang → bienvenu
I think this & bug 98848 are DUPS. David, agree?
yes, I think so. I have a fix for this at home, I believe.
*** Bug 98848 has been marked as a duplicate of this bug. ***
I think this is fixed now.
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
I see this no longer with mozilla.exe -compose, autocompleting a nick, and shutting down. Verified FIXED.
Status: RESOLVED → VERIFIED
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.