MLK: Memory leak of 12 bytes from 1 block allocated in nsMsgAsyncWriteProtocol::PostMessage(nsIURI *,nsIFileSpec *)

VERIFIED FIXED

Status

VERIFIED FIXED
18 years ago
10 years ago

People

(Reporter: stephend, Assigned: mscott)

Tracking

({memory-leak})

Trunk
x86
Windows 2000
memory-leak

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

[W] MLK: Memory leak of 12 bytes from 1 block allocated in 
nsMsgAsyncWriteProtocol::PostMessage(nsIURI *,nsIFileSpec *)
        Distribution of leaked blocks
        Allocation location
            new(UINT)+0xc        [new.cpp:23 ip=0x002da05c]
            nsMsgAsyncWriteProtocol::PostMessage(nsIURI *,nsIFileSpec *)+0x3e 
[c:\moz_src\mozilla\mailnews\base\util\nsMsgProtocol.cpp:894 ip=0x093458ce]
            nsSmtpProtocol::SendMessageInFile(void)+0x204 
[c:\moz_src\mozilla\mailnews\compose\src\nsSmtpProtocol.cpp:1149 ip=0x091f4e44]
            nsSmtpProtocol::SendPostData(void)+0xc7 
[c:\moz_src\mozilla\mailnews\compose\src\nsSmtpProtocol.cpp:1178 ip=0x091f500c]
            nsSmtpProtocol::ProcessProtocolState(nsIURI *,nsIInputStream 
*,UINT,UINT)+0x826 
[c:\moz_src\mozilla\mailnews\compose\src\nsSmtpProtocol.cpp:1440 ip=0x091f65c6]
            nsMsgProtocol::OnDataAvailable(nsIRequest *,nsISupports 
*,nsIInputStream *,UINT,UINT)+0xe9 
[c:\moz_src\mozilla\mailnews\base\util\nsMsgProtocol.cpp:245 ip=0x09340ac9]
            nsOnDataAvailableEvent::HandleEvent(void)+0x69c 
[c:\moz_src\mozilla\netwerk\base\src\nsStreamListenerProxy.cpp:178 
ip=0x04f8a79c]
            nsARequestObserverEvent::HandlePLEvent(PLEvent *)+0xdb 
[c:\moz_src\mozilla\netwerk\base\src\nsRequestObserverProxy.cpp:64 
ip=0x04f8756b]
            PL_HandleEvent+0xd5  
[c:\moz_src\mozilla\xpcom\threads\plevent.c:590 ip=0x10156165]
            PL_ProcessPendingEvents+0x256 
[c:\moz_src\mozilla\xpcom\threads\plevent.c:520 ip=0x10155c06]
This was just sending POP3 mail.
Bug 98843, bug 98847, bug 98848, bug 98849, bug 98850, bug 98846 and bug 98841 
all were a result of:

Launching mozilla.exe -compose, typing stephe (letting it search from a local 
addressbook for <stephend@netscape.com>, moving the selection down 3 times to 
highlight the above email address, hitting return 3 times, typing nothing in 
the message body, nothing in the subject, and simply hitting OK to send the 
dialog.
Summary: [W] MLK: Memory leak of 12 bytes from 1 block allocated in nsMsgAsyncWriteProtocol::PostMessage(nsIURI *,nsIFileSpec *) → MLK: Memory leak of 12 bytes from 1 block allocated in nsMsgAsyncWriteProtocol::PostMessage(nsIURI *,nsIFileSpec *)
(Assignee)

Comment 4

18 years ago
Created attachment 48882 [details] [diff] [review]
the fix

Comment 5

18 years ago
Comment on attachment 48882 [details] [diff] [review]
the fix

Makes sense. r=hwaara
Attachment #48882 - Flags: review+

Comment 6

18 years ago
r=naving
(Assignee)

Comment 8

18 years ago
fixed.
Status: NEW → RESOLVED
Last Resolved: 18 years ago
Resolution: --- → FIXED
QA Contact: nbaca → stephend
verified.
Status: RESOLVED → VERIFIED
Product: MailNews → Core
Product: Core → MailNews Core
You need to log in before you can comment on or make changes to this bug.