Closed
Bug 152074
Opened 23 years ago
Closed 2 years ago
Memory leak of 15 bytes from 1 block allocated in ldap_x_malloc
Categories
(MailNews Core :: LDAP Integration, defect)
Tracking
(Not tracked)
RESOLVED
INVALID
Future
People
(Reporter: stephend, Unassigned)
Details
(Keywords: memory-leak)
Build ID: Latest trunk, Windows 2000, under Purify.
Summary: Memory leak of 15 bytes from 1 block allocated in ldap_x_malloc
Steps to Reproduce:
1. Set up the AOL/TW directory (nsdirectory.netscape.com).
2. Launch the Address Book, select the AOL/TW 'book' that contains the LDAP
info.
3. Type in 'stephend' into the quick search field.
4. Once results populate, shutdown.
[W] MLK: Memory leak of 15 bytes from 1 block allocated in ldap_x_malloc
Distribution of leaked blocks
15 bytes from 1 block of 15 bytes (0x093f7478)
Allocation location
malloc [MSVCRT.DLL]
ldap_x_malloc [NSLDAP32V50.dll]
nsLDAPOperation::SimpleBind(WORD const*) [nsLDAPOperation.cpp:134]
mMsgID = ldap_simple_bind(mConnectionHandle,
NS_ConvertUCS2toUTF8(bindName).get(),
=> NS_ConvertUCS2toUTF8(passwd).get());
if (mMsgID == -1) {
const int lderrno = ldap_get_lderrno(mConnectionHandle, 0, 0);
nsAbQueryLDAPMessageListener::OnLDAPInit(UINT)
[nsAbLDAPDirectoryQuery.cpp:397]
NS_ENSURE_SUCCESS(rv, rv);
// Bind
=> rv = ldapOperation->SimpleBind(passwd);
NS_ENSURE_SUCCESS(rv, rv);
return rv;
nsLDAPConnection::OnStopLookup(nsISupports *,char const*,UINT)
[nsLDAPConnection.cpp:1044]
// Call the listener, and then we can release our reference to it.
//
=> mInitListener->OnLDAPInit(rv);
mInitListener = 0;
return rv;
XPTC_InvokeByIndex [xptcinvoke.cpp:105]
nsProxyObject::Post(UINT,nsXPTMethodInfo *,nsXPTCMiniVariant
*,nsIInterfaceInfo *) [nsProxyEvent.cpp:481]
nsProxyEventObject::CallMethod(WORD,nsXPTMethodInfo
const*,nsXPTCMiniVariant *) [nsProxyEventObject.cpp:547]
PrepareAndDispatch [xptcstubs.cpp:115]
SharedStub [xptcstubs.cpp:138]
nsDNSRequest::FireStop(UINT) [nsDnsService.cpp:406]
nsDNSLookup::ProcessRequests(void) [nsDnsService.cpp:803]
??? [ip=0x09516380]
nsDNSService::Lookup(char const*,nsIDNSListener *,nsISupports *,nsIRequest
* *) [nsDnsService.cpp:1498]
nsLDAPConnection::Init(char const*,short,int,WORD
const*,nsILDAPMessageListener *) [nsLDAPConnection.cpp:261]
nsAbLDAPDirectoryQuery::DoQuery(nsIAbDirectoryQueryArguments
*,nsIAbDirectoryQueryResultListener *,int,int,int *)
[nsAbLDAPDirectoryQuery.cpp:773]
nsAbLDAPDirectory::StartSearch(void) [nsAbLDAPDirectory.cpp:377]
nsAbLDAPDirectory::GetChildCards(nsIEnumerator * *)
[nsAbLDAPDirectory.cpp:245]
nsAbView::EnumerateCards(void) [nsAbView.cpp:285]
nsAbView::Init(char const*,nsIAbViewListener *,WORD const*,WORD const*,WORD
* *) [nsAbView.cpp:224]
Updated•23 years ago
|
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla1.1beta
| Reporter | ||
Updated•23 years ago
|
QA Contact: gchan → stephend
Target Milestone: mozilla1.1beta → ---
Updated•21 years ago
|
Product: MailNews → Core
Updated•21 years ago
|
Component: MailNews: LDAP Integration → Address Book
Product: Core → Thunderbird
Target Milestone: --- → Thunderbird1.1
Updated•21 years ago
|
Component: Address Book → MailNews: LDAP Integration
Product: Thunderbird → Core
Target Milestone: Thunderbird1.1 → Future
Comment 2•19 years ago
|
||
Assigning bugs that I'm not actively working on back to nobody; use SearchForThis as a search term if you want to delete all related bugmail at once.
Assignee: dmose → nobody
Status: ASSIGNED → NEW
Comment 3•17 years ago
|
||
Filter on "Nobody_NScomTLD_20080620"
QA Contact: stephend → ldap-integration
| Assignee | ||
Updated•17 years ago
|
Product: Core → MailNews Core
Updated•16 years ago
|
Severity: normal → minor
Updated•3 years ago
|
Severity: minor → S4
Comment 4•2 years ago
|
||
ldap has been reimplemented
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•