Closed
Bug 152055
Opened 23 years ago
Closed 22 years ago
Memory leak of 56 bytes from 1 block allocated in nsGlobalHistory::AutoCompleteSearch
Categories
(SeaMonkey :: Autocomplete, defect)
Tracking
(Not tracked)
VERIFIED
DUPLICATE
of bug 128978
People
(Reporter: stephend, Assigned: hewitt)
Details
(Keywords: memory-leak)
Using the current trunk (pulled at around 1PM June 15th) under Purify, I see
(when autocompleting against a URL in my history):
[W] MLK: Memory leak of 56 bytes from 1 block allocated in
nsGlobalHistory::AutoCompleteSearch(nsAString const&,AutocompleteExclude
*,nsIAutoCompleteResults *,nsIAutoCompleteResults *)
Distribution of leaked blocks
Allocation location
new(UINT) [MSVCRT.DLL]
nsGlobalHistory::AutoCompleteSearch(nsAString
const&,AutocompleteExclude *,nsIAutoCompleteResults *,nsIAutoCompleteResults *)
[nsGlobalHistory.cpp:4032]
kToken_HiddenColumn,
kToken_TypedColumn,
mAutocompleteOnlyTyped,
=> aSearchString,
aExclude);
rv = enumerator->Init(mEnv, mTable);
if (NS_FAILED(rv)) return rv;
nsGlobalHistory::OnStartLookup(WORD const*,nsIAutoCompleteResults
*,nsIAutoCompleteListener *) [nsGlobalHistory.cpp:3932]
AutoCompleteGetExcludeInfo(filtered, &exclude);
// perform the actual search here
=> rv = AutoCompleteSearch(filtered, &exclude,
previousSearchResult, results);
// describe the search results
if (NS_SUCCEEDED(rv)) {
XPTC_InvokeByIndex [xptcinvoke.cpp:105]
XPCWrappedNative::CallMethod
(XPCCallContext&,CallMode::XPCWrappedNative) [xpcwrappednative.cpp:1994]
XPC_WN_CallMethod(JSContext *,JSObject *,UINT,long *,long *)
[xpcwrappednativejsops.cpp:1266]
js_Invoke [jsinterp.c:788]
js_Interpret [jsinterp.c:2743]
js_Invoke [jsinterp.c:805]
js_InternalInvoke [jsinterp.c:880]
JS_CallFunctionValue [jsapi.c:3428]
nsJSContext::CallEventHandler(void *,void *,UINT,void *,int *,int)
[nsJSEnvironment.cpp:1042]
GlobalWindowImpl::RunTimeout(nsTimeoutImpl *)
[nsGlobalWindow.cpp:4511]
GlobalWindowImpl::TimerCallback(nsITimer *,void *)
[nsGlobalWindow.cpp:4859]
??? [ip=0x09a9cd80]
nsTimerImpl::Fire(void) [nsTimerImpl.cpp:339]
handleTimerEvent(TimerEventType *) [nsTimerImpl.cpp:403]
PL_HandleEvent [plevent.c:596]
PL_ProcessPendingEvents [plevent.c:526]
md_EventReceiverProc [plevent.c:1077]
Comment 1•22 years ago
|
||
*** This bug has been marked as a duplicate of 128978 ***
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → DUPLICATE
Updated•21 years ago
|
Product: Core → Mozilla Application Suite
You need to log in
before you can comment on or make changes to this bug.
Description
•