Closed Bug 103703 Opened 24 years ago Closed 24 years ago

loading local message leaks a url spec

Categories

(MailNews Core :: Networking, defect)

defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: Bienvenu, Assigned: Bienvenu)

Details

(Keywords: memory-leak)

Attachments

(1 file)

Here's the stack trace: => rv = GetFileFromURL(aURL, getter_AddRefs(file)); NS_ENSURE_SUCCESS(rv, rv); nsCOMPtr<nsIFileTransportService> fts = nsMailboxProtocol::Initialize(nsIURI *) [nsMailboxProtocol.cpp:209] nsMailboxProtocol::nsMailboxProtocol(nsIURI *) [nsMailboxProtocol.cpp:92] nsMailboxService::NewChannel(nsIURI *,nsIChannel * *) [nsMailboxService.cpp:523] ??? [ip=0x0955263c] Fix coming up. GetFileFromUrl does a pr_smprintf and never frees it.
Status: NEW → ASSIGNED
Keywords: mlk
QA Contact: huang → stephend
Attached patch proposed fixSplinter Review
Comment on attachment 52581 [details] [diff] [review] proposed fix sr=sspitzer
Attachment #52581 - Flags: superreview+
r=naving
fix checked in.
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
I didn't see this when I was verifying bug 103023 as FIXED, and that testcase was a local message. Verified FIXED. Latest CVS with Windows 2000/Purify.
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.

Attachment

General

Created:
Updated:
Size: