Closed Bug 103083 Opened 23 years ago Closed 5 months ago

Memory leak of 160 bytes from 4 blocks allocated in nsLDAPAutoCompleteSession::OnLDAPMessage

Categories

(MailNews Core :: LDAP Integration, defect, P3)

x86
Windows 2000

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: stephend, Unassigned)

References

Details

(Keywords: memory-leak)

Trunk CVS pull, 8 pm 10-3-2001, Windows 2000.

Using the autocomplete setup provided by hong@netscape.com.

dmose had asked a long time ago if I could run this, sorry it took so long.

Steps to Reproduce:

1.  Mozilla.exe -compose.
2.  Type dmos (it'll complete to Dan Mosedale <dmose@netscape.com>).
3.  Tab to subject.
4.  Exit.

[W] MLK: Memory leak of 160 bytes from 4 blocks allocated in ber_init
        Distribution of leaked blocks
        Allocation location
            malloc+0xc           [C:\WINNT\SYSTEM32\msvcrt.DLL ip=0x580013eb]
            ber_init+0x64        
[C:\moz_src\mozilla\dist\WIN32_O.OBJ\bin\NSLDAP32V40.dll ip=0x0df8a574]
            ???            [ip=0x09550500]
            nsLDAPAutoCompleteSession::OnLDAPMessage(nsILDAPMessage *)+0x145 
[c:\moz_src\mozilla\xpfe\components\autocomplete\src\nsLDAPAutoCompleteSession.c
pp:386 ip=0x08e89c2a]
                
                        // a search entry has been returned
                        //
             =>         return OnLDAPSearchEntry(aMessage);
                
                    case nsILDAPMessage::RES_SEARCH_RESULT:
                
            XPTC_InvokeByIndex+0x75 
[c:\moz_src\mozilla\xpcom\reflect\xptcall\src\md\win32\xptcinvoke.cpp:152 
ip=0x100d4c0e]
                        mov     eax,methodIndex
                        shl     eax,2               // *= 4
                        add     edx,eax
             =>         call    [edx]               // stdcall, i.e. callee 
cleans up stack.
                    }
                }
                #pragma warning(default : 4035) // restore default
            EventHandler+0xb4    
[c:\moz_src\mozilla\xpcom\proxy\src\nsProxyEvent.cpp:514 ip=0x100e4fb7]
                        nsresult rv = XPTC_InvokeByIndex( proxyObject-
>GetRealObject(),
                                                          info->GetMethodIndex
(),
                                                          info-
>GetParameterCount(),
             =>                                           info->GetParameterList
());
                        info->SetResult(rv);
                    }
                    else
            md_EventReceiverProc+0x61 
[c:\moz_src\mozilla\xpcom\threads\plevent.c:1071 ip=0x100cdd6f]
                    {
                        PREventQueue *queue = (PREventQueue *)lParam;
                        queue->removeMsg = PR_FALSE;
             =>         PL_ProcessPendingEvents(queue);
                        queue->removeMsg = PR_TRUE;
                #ifdef XP_OS2
                        return MRFROMLONG(TRUE);
            ScrollDC+0x490       [C:\WINNT\SYSTEM32\user32.dll ip=0x77e12e98]
            ScrollDC+0x6d8       [C:\WINNT\SYSTEM32\user32.dll ip=0x77e130e0]
            DispatchMessageA+0xb [C:\WINNT\SYSTEM32\user32.dll ip=0x77e15824]
Keywords: nsbeta1
nsbeta1+
Keywords: nsbeta1nsbeta1+
Status: NEW → ASSIGNED
Priority: -- → P3
Target Milestone: --- → mozilla0.9.7
Target Milestone: mozilla0.9.7 → mozilla0.9.8
Mass change: pushing out; as I'm concentrating on feature work at the moment.
Target Milestone: mozilla0.9.8 → mozilla0.9.9
Blocks: 122274
Keywords: nsbeta1+nsbeta1-
Target Milestone: mozilla0.9.9 → mozilla1.0.1
Target Milestone: mozilla1.0.1 → mozilla1.1alpha
QA Contact: yulian → gchan
QA Contact: gchan → stephend
Target Milestone: mozilla1.1alpha → ---
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 → ---
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: 5 months ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.