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)

x86
Windows 2000
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]
Keywords: mlk
QA Contact: yulian → stephend
over to dmose
Assignee: srilatha → dmose
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla1.1beta
QA Contact: stephend → gchan
QA Contact: gchan → stephend
Target Milestone: mozilla1.1beta → ---
Product: MailNews → Core
Component: MailNews: LDAP Integration → Address Book
Product: Core → Thunderbird
Target Milestone: --- → Thunderbird1.1
Component: Address Book → MailNews: LDAP Integration
Product: Thunderbird → Core
Target Milestone: Thunderbird1.1 → Future
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
Filter on "Nobody_NScomTLD_20080620"
QA Contact: stephend → ldap-integration
Product: Core → MailNews Core
Severity: normal → minor
Severity: minor → S4

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.