Closed Bug 99126 Opened 24 years ago Closed 24 years ago

Memory leak of 72 bytes from 4 blocks allocated in nsPrefBranch::GetCharPref

Categories

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

x86
Windows 2000
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: stephend, Assigned: Bienvenu)

Details

(Keywords: memory-leak)

MLK: Memory leak of 72 bytes from 4 blocks allocated in PL_strdup Distribution of leaked blocks 21 bytes from 1 block of 21 bytes (0x0a1af1c0) 18 bytes from 1 block of 18 bytes (0x0a10f558) 17 bytes from 1 block of 17 bytes (0x0ed59370) 16 bytes from 1 block of 16 bytes (0x0ed0f080) Allocation location malloc+0xc [dbgheap.c:129 ip=0x002e3c3c] PL_strdup+0x75 [.\../../../../lib/libc/src/strdup.c:46 ip=0x004c15a5] PREF_CopyCharPref+0x198 [c:\moz_src\mozilla\modules\libpref\src\prefapi.c:881 ip=0x048e5f78] nsPrefBranch::GetCharPref(char const*,char * *)+0xb2 [c:\moz_src\mozilla\modules\libpref\src\nsPrefBranch.cpp:210 ip=0x048f8302] nsPrefService::GetCharPref(char const*,char * *)+0x8b [c:\moz_src\mozilla\modules\libpref\src\nsPrefService.h:42 ip=0x0490112b] nsPref::CopyCharPref(char const*,char * *)+0x114 [c:\moz_src\mozilla\modules\libpref\src\nsPref.cpp:183 ip=0x048ee654] DIR_GetStringPref+0x22b [c:\moz_src\mozilla\mailnews\addrbook\src\nsDirPrefs.cpp:2180 ip=0x0fc26989] DIR_GetPrefsForOneServer(DIR_Server *,int,int)+0x76a [c:\moz_src\mozilla\mailnews\addrbook\src\nsDirPrefs.cpp:3077 ip=0x0fc2990a] dir_GetPrefsFrom45Branch+0x559 [c:\moz_src\mozilla\mailnews\addrbook\src\nsDirPrefs.cpp:3264 ip=0x0fc2f2d9] DIR_GetServerPreferences(nsVoidArray * *)+0x3f3 [c:\moz_src\mozilla\mailnews\addrbook\src\nsDirPrefs.cpp:3332 ip=0x0fc2d753]
changing qa over to myself.
QA Contact: nbaca → stephend
taking.
Assignee: chuang → bienvenu
I think this is a dup of one of the other bugs, not sure which. Should be fixed.
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Could be bug 103193 or most likely bug 66435... verified.
Status: RESOLVED → VERIFIED
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.