Closed
Bug 13293
Opened 25 years ago
Closed 25 years ago
MLK: nsHTMLContentSink (easy!)
Categories
(Core :: DOM: HTML Parser, defect, P3)
Core
DOM: HTML Parser
Tracking
()
VERIFIED
FIXED
People
(Reporter: bruce, Assigned: vidur)
Details
Attachments
(1 file)
7.03 KB,
patch
|
Details | Diff | Splinter Review |
Woops. Caller owns this char*. nsHTMLContentSink needs to free it. [W] MLK: Memory leak of 51 bytes from 1 block allocated in PL_strdup Distribution of leaked blocks 51 bytes from 1 block of 51 bytes (0x097d90b0) allocation number 221904 Allocation location malloc [dbgheap.c:129] PL_strdup [strdup.c:30] nsCRT::strdup(char const*) [nsCRT.h:151] nsStdURL::DupString(char * *,char *) [nsStdURL.cpp:673] nsStdURL::GetSpec(char * *) [nsStdURL.h:93] HTMLContentSink::EvaluateScript(nsString&,int) [nsHTMLContentSink.cpp:3149] HTMLContentSink::ProcessSCRIPTTag(nsIParserNode const&) [nsHTMLContentSink.cpp:3323] HTMLContentSink::AddLeaf(nsIParserNode const&) [nsHTMLContentSink.cpp:2176] CNavDTD::AddLeaf(nsIParserNode const&) [CNavDTD.cpp:2660] CNavDTD::HandleScriptToken(nsCParserNode&) [CNavDTD.cpp:1643] CNavDTD::OpenContainer(nsIParserNode const&,int) [CNavDTD.cpp:2469] CNavDTD::HandleDefaultStartToken(CToken *,nsHTMLTag,nsIParserNode&) [CNavDTD.cpp:1047] CNavDTD::HandleStartToken(CToken *) [CNavDTD.cpp:1290] NavDispatchTokenHandler [CNavDTD.cpp:241] CTokenHandler::()(CToken *,nsIDTD *) [nsTokenHandler.cpp:80]
Diff attached that should fix, and also remove obsolete NECKO #define switching for a cleaner, whiter smile. Say the word and I'll check it in.
Assignee | ||
Updated•25 years ago
|
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 3•25 years ago
|
||
Thanks shaver and bruce. Fix checked in on 9/15/1999.
Updated•25 years ago
|
Status: RESOLVED → VERIFIED
Comment 4•25 years ago
|
||
code fix. verifying based on developer comments.
Comment hidden (collapsed) |
You need to log in
before you can comment on or make changes to this bug.
Description
•