Closed
Bug 134327
Opened 22 years ago
Closed 16 years ago
Memory leak of 44 bytes from 1 block allocated in nsAbAutoCompleteSession::AddToResult
Categories
(MailNews Core :: Address Book, defect)
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: stephend, Unassigned)
Details
(Keywords: memory-leak)
Build ID: latest win32 tip under Purify. Steps: 1. Just typed in 'steph' and had mailnews autocomplete a local collected addressbook dir to 'stephend@netscape.com'. 2. Didn't send the message, just closed the window and chose "Don't Save'. 3. Exited. [W] MLK: Memory leak of 44 bytes from 1 block allocated in nsAbAutoCompleteSession::AddToResult(WORD const*,WORD const*,WORD const*,WORD const*,WORD const*,WORD const*,WORD const*,int,MatchType::nsAbAutoCompleteSession,nsIAutoCompleteResults *) Distribution of leaked blocks Allocation location new(UINT) [MSVCRT.DLL] nsAbAutoCompleteSession::AddToResult(WORD const*,WORD const*,WORD const*,WORD const*,WORD const*,WORD const*,WORD const*,int,MatchType::nsAbAutoCompleteSession,nsIAutoCompleteResults *) [nsAbAutoCompleteSession.cpp:198] nsCOMPtr<nsIAutoCompleteItem> newItem = do_CreateInstance (NS_AUTOCOMPLETEITEM_CONTRACTID, &rv); if (NS_SUCCEEDED(rv)) { => nsAbAutoCompleteParam *param = new nsAbAutoCompleteParam (pNickNameStr, pDisplayNameStr, pFirstNameStr, pLastNameStr, pEmailStr, pNotesStr, pDirName, bIsMailList, type); NS_IF_ADDREF(param); newItem->SetParam(param); NS_IF_RELEASE(param); nsAbAutoCompleteSession::OnStartLookup(WORD const*,nsIAutoCompleteResults *,nsIAutoCompleteListener *) [nsAbAutoCompleteSession.cpp:767] PRUnichar emptyStr = 0; AddToResult(&emptyStr, uSearchString, &emptyStr, &emptyStr, &emptyStr, &emptyStr, &emptyStr, PR_FALSE, => DEFAULT_MATCH, results); addedDefaultItem = PR_TRUE; } XPTC_InvokeByIndex [xptcinvoke.cpp:105] XPCWrappedNative::CallMethod (XPCCallContext&,CallMode::XPCWrappedNative) [xpcwrappednative.cpp:2025] XPC_WN_CallMethod(JSContext *,JSObject *,UINT,long *,long *) [xpcwrappednativejsops.cpp:1266] js_Invoke [jsinterp.c:788] js_Interpret [jsinterp.c:2745] js_Invoke [jsinterp.c:805] js_InternalInvoke [jsinterp.c:880] JS_CallFunctionValue [jsapi.c:3412] nsJSContext::CallEventHandler(void *,void *,UINT,void *,int *,int) [nsJSEnvironment.cpp:1016] GlobalWindowImpl::RunTimeout(nsTimeoutImpl *) [nsGlobalWindow.cpp:4221] GlobalWindowImpl::TimerCallback(nsITimer *,void *) [nsGlobalWindow.cpp:4569] ??? [ip=0x09fcf6e0] nsTimerImpl::Process(void) [nsTimerImpl.cpp:329] handleMyEvent(MyEventType *) [nsTimerImpl.cpp:370] PL_HandleEvent [plevent.c:596] PL_ProcessPendingEvents [plevent.c:526] md_EventReceiverProc [plevent.c:1077]
Updated•20 years ago
|
Product: Browser → Seamonkey
Updated•19 years ago
|
Assignee: sspitzer → mail
Updated•16 years ago
|
Assignee: mail → nobody
Component: Address Book → MailNews: Address Book
Product: Mozilla Application Suite → Core
QA Contact: stephend → addressbook
Comment 2•16 years ago
|
||
Although it hasn't gone away yet, nsAbAutoCompleteSession will be going away soon (part of bug 370306 and related bugs), therefore marking as wontfix, as its not worth spending the time on it.
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → WONTFIX
Assignee | ||
Updated•16 years ago
|
Product: Core → MailNews Core
You need to log in
before you can comment on or make changes to this bug.
Description
•