Closed Bug 1707 Opened 26 years ago Closed 26 years ago

purify reports memory leak

Categories

(Core :: CSS Parsing and Computation, defect, P3)

x86
Windows NT
defect

Tracking

()

VERIFIED WORKSFORME

People

(Reporter: buster, Assigned: peterl-retired)

Details

you'll have to adjust the test case to your local configuration.

purify report:
[W] MLK: Memory leak of 52 bytes from 1 block allocated in
NS_NewHTMLStyleElement(nsIHTMLContent * *,nsIAtom *)
        Distribution of leaked blocks
                52 bytes from 1 block of 52 bytes (0x04590e68) allocation number
64593
        Allocation location
            new(UINT)      [new.cpp:23]
            NS_NewHTMLStyleElement(nsIHTMLContent * *,nsIAtom *)
[nsHTMLStyleElement.cpp:86]
            MakeContentObject [nsHTMLContentSink.cpp:649]
            NS_CreateHTMLElement(nsIHTMLContent * *,nsString const&)
[nsHTMLContentSink.cpp:841]
            HTMLContentSink::ProcessSTYLETag(nsIParserNode const&)
[nsHTMLContentSink.cpp:2381]
            HTMLContentSink::AddLeaf(nsIParserNode const&)
[nsHTMLContentSink.cpp:1780]
            CNavDTD::AddLeaf(nsIParserNode const&) [CNavDTD.cpp:2938]
            CNavDTD::HandleStartToken(CToken *) [CNavDTD.cpp:916]
            NavDispatchTokenHandler(CToken *,nsIDTD *) [CNavDTD.cpp:445]
            CTokenHandler::()(CToken *,nsIDTD *) [nsTokenHandler.cpp:80]


test case:  2 files --
========= page.html ============
<html><body>

<TABLE nowrap cellpadding="2" cellspacing="0" border="0" width="600"
bgcolor="#000000">
<TR align="center">
	<TD valign="top" align="left">
		<img
src="http://static.wired.com/advertising/blipverts/univ_of_phoenix/468going.gif"
		BORDER=1 height=60 width=468 alt="Click here for the University
of Phoenix
		Online">&nbsp;
	</TD>
	<td valign="top" align="left">
		<img
src="http://static.wired.com/advertising/blipverts/music_blvd/bill_12060.gif"
		BORDER=1 height=60 width=120 alt="Click here for Music
Boulevard">
	</td>
</TR>
</TABLE>

</body></html>

======== test.html ==========
<frameset rows="150,*,20%">
 <frame src="file://s:/testcases/pages/hotwired/page.html" scrolling=no>
 <frame src="file://s:/testcases/ruler.gif">
 <frame src="file://s:/testcases/ruler.gif" scrolling=no>
</frameset>
Status: NEW → RESOLVED
Closed: 26 years ago
Resolution: --- → WORKSFORME
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.