[MLK] 121408 bytes of memory leaked on repeated reload

RESOLVED FIXED in mozilla1.0

Status

SeaMonkey
General
RESOLVED FIXED
16 years ago
13 years ago

People

(Reporter: Nisheeth Ranjan, Assigned: Nisheeth Ranjan)

Tracking

({helpwanted, mlk})

Trunk
mozilla1.0
x86
Windows 2000
helpwanted, mlk

Firefox Tracking Flags

(Not tracked)

Details

(URL)

(Assignee)

Description

16 years ago
In a MOZ_PROFILE=1 windows 2000 build run by purify, I
1) Loaded above URL.
2) Reloaded 10 times.
3) Exit

The following allocation point caused 121408 bytes of memory leakage:

[W] MLK: Memory leak of 121408 bytes from 2168 blocks allocated in
HTMLAttributesImpl::new(UINT)
Distribution of leaked blocks
121408 bytes from 2168 blocks of 56 bytes (first block: 0x04363090) 
Allocation location
new(UINT)      [msvcrt.DLL]
HTMLAttributesImpl::new(UINT) [nsHTMLAttributes.cpp:920]
NS_NewHTMLAttributes(nsIHTMLAttributes * *) [nsHTMLAttributes.cpp:1613]
HTMLStyleSheetImpl::SetAttributeFor(nsIAtom *,nsAString
const&,int,nsIHTMLContent *,nsIHTMLAttributes *&) [nsHTMLStyleSheet.cpp:1427]
nsGenericHTMLElement::SetAttr(int,nsIAtom *,nsAString const&,int)
[nsGenericHTMLElement.cpp:1656]
HTMLContentSink::AddAttributes(nsIParserNode const&,nsIHTMLContent *,int)
[nsHTMLContentSink.obj:778]
SinkContext::AddLeaf(nsIParserNode const&) [nsHTMLContentSink.cpp:1847]
HTMLContentSink::AddLeaf(nsIParserNode const&) [nsHTMLContentSink.cpp:3456]
CNavDTD::AddLeaf(nsIParserNode const*) [CNavDTD.cpp:3802]
CNavDTD::HandleDefaultStartToken(CToken *,nsHTMLTag,nsCParserNode *)
[CNavDTD.cpp:1321]
(Assignee)

Updated

16 years ago
Keywords: helpwanted, mlk, mozilla1.0
Target Milestone: --- → mozilla1.0
(Assignee)

Updated

16 years ago
Blocks: 81446

Updated

16 years ago
Keywords: nsbeta1
(Assignee)

Comment 1

16 years ago
Fixed by checkin of attachment 73568 [details] [diff] [review] to bug 81446.
Status: NEW → RESOLVED
Last Resolved: 16 years ago
Resolution: --- → FIXED
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.