Closed Bug 98848 Opened 23 years ago Closed 23 years ago

MLK: Memory leak of 96 bytes from 4 blocks allocated in dir_GetPrefsFrom45Branch

Categories

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

x86
Windows 2000
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED DUPLICATE of bug 99132

People

(Reporter: stephend, Assigned: Bienvenu)

Details

(Keywords: memory-leak)

[W] MLK: Memory leak of 96 bytes from 4 blocks allocated in PL_strdup
        Distribution of leaked blocks
        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]
Bug 98843, bug 98847, bug 98848, bug 98849, bug 98850, bug 98846 and bug 98841 
all were a result of:

Launching mozilla.exe -compose, typing stephe (letting it search from a local 
addressbook for <stephend@netscape.com>, moving the selection down 3 times to 
highlight the above email address, hitting return 3 times, typing nothing in 
the message body, nothing in the subject, and simply hitting OK to send the 
dialog.
Summary: [W] MLK: Memory leak of 96 bytes from 4 blocks allocated in PL_strdup → MLK: Memory leak of 96 bytes from 4 blocks allocated in nsCRT::strdup
changing qa over to myself.
QA Contact: nbaca → stephend
taking
Assignee: chuang → bienvenu
Summary: MLK: Memory leak of 96 bytes from 4 blocks allocated in nsCRT::strdup → MLK: Memory leak of 96 bytes from 4 blocks allocated in dir_GetPrefsFrom45Branch

*** This bug has been marked as a duplicate of 99132 ***
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
verified dup.  same stack, same byte leakage.
Status: RESOLVED → VERIFIED
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.