purify reports memory leak

VERIFIED WORKSFORME

Status

()

Core
CSS Parsing and Computation
P3
normal
VERIFIED WORKSFORME
20 years ago
11 years ago

People

(Reporter: buster, Assigned: Peter Linss)

Tracking

Trunk
x86
Windows NT
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

20 years ago
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>
(Assignee)

Updated

20 years ago
Status: NEW → RESOLVED
Last Resolved: 20 years ago
Resolution: --- → WORKSFORME

Updated

19 years ago
Status: RESOLVED → VERIFIED

Updated

11 years ago
You need to log in before you can comment on or make changes to this bug.