Closed Bug 13478 Opened 25 years ago Closed 25 years ago

MLK: File channel or protocol handler?

Categories

(Core :: Networking, defect, P3)

defect

Tracking

()

VERIFIED FIXED

People

(Reporter: bruce, Assigned: brendan)

Details

Attachments

(1 file)

This was from a September 7, 1999 build on NT. [W] MLK: Memory leak of 20 bytes from 1 block allocated in nsAutoMonitor::NewMonitor(char const*) Distribution of leaked blocks 20 bytes from 1 block of 20 bytes (0x070116f8) allocation number 106131 Allocation location new(UINT) [new.cpp:23] nsAutoMonitor::NewMonitor(char const*) [nsAutoLock.cpp:143] nsFileChannel::Init(nsFileProtocolHandler *,char const*,nsIURI *,nsILoadGroup *,nsIEventSinkGetter *) [nsFileChannel.cpp:110] nsFileProtocolHandler::NewChannel(char const*,nsIURI *,nsILoadGroup *,nsIEventSinkGetter *,nsIChannel * *) [nsFileProtocolHandler.cpp:162] nsIOService::NewChannelFromURI(char const*,nsIURI *,nsILoadGroup *,nsIEventSinkGetter *,nsIChannel * *) [nsIOService.cpp:229] nsIOService::NewChannel(char const*,char const*,nsIURI *,nsILoadGroup *,nsIEventSinkGetter *,nsIChannel * *) [nsIOService.cpp:247] nsResourceProtocolHandler::NewChannel(char const*,nsIURI *,nsILoadGroup *,nsIEventSinkGetter *,nsIChannel * *) [nsResourceProtocolHandler.cpp:321] nsIOService::NewChannelFromURI(char const*,nsIURI *,nsILoadGroup *,nsIEventSinkGetter *,nsIChannel * *) [nsIOService.cpp:229] nsChromeProtocolHandler::NewChannel(char const*,nsIURI *,nsILoadGroup *,nsIEventSinkGetter *,nsIChannel * *) [nsChromeProtocolHandler.cpp:176] nsIOService::NewChannelFromURI(char const*,nsIURI *,nsILoadGroup *,nsIEventSinkGetter *,nsIChannel * *) [nsIOService.cpp:229] NS_OpenURI(nsIChannel * *,nsIURI *,nsILoadGroup *,nsIEventSinkGetter *) [nsNeckoUtil.cpp:63] nsUnicharStreamLoader::nsUnicharStreamLoader(nsIURI *,nsILoadGroup *,(*)(nsIUnicharStreamLoader *,nsString&,void *,UINT),void *,UINT *) [nsNetStreamLoader.cpp:80] NS_NewUnicharStreamLoader(nsIUnicharStreamLoader * *,nsIURI *,nsILoadGroup *,(*)(nsIUnicharStreamLoader *,nsString&,void *,UINT),void *) [nsNetStreamLoader.cpp:211] XULContentSinkImpl::OpenScript(nsIParserNode const&) [nsXULContentSink.cpp:1605] XULContentSinkImpl::OpenTag(nsIParserNode const&) [nsXULContentSink.cpp:1417]
Assignee: gagan → warren
Status: NEW → ASSIGNED
Maybe the XULContentSinkImpl isn't releasing the nsIUnicharStreamLoader here.
Assignee: warren → brendan
Status: ASSIGNED → NEW
Target Milestone: M11
This is brendan's.
Status: NEW → ASSIGNED
Bruce, what's the good word with that patch I gave you (attached)? /be
running with that patch drops the leak count on viewer to about 1300 bytes for startup/load test 0/shutdown from roughly 2000 bytes.
(that was all of the instances of this leak btw)
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Fix checked in. Verify via purify on your own, or from bruce's logs. /be
Status: RESOLVED → VERIFIED
Bulk move of all Necko (to be deleted component) bugs to new Networking component.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: