Closed
Bug 676
Opened 26 years ago
Closed 26 years ago
Purify Reports Leak of Form Object
Categories
(Core :: DOM: Core & HTML, defect, P1)
Tracking
()
VERIFIED
FIXED
People
(Reporter: troy, Assigned: karnaze)
Details
Purify reports a leak of the form object for this HTML:
<HTML>
<body>
<FORM>
<input type=submit name=file>
</form>
</body>
</html>
Purify output:
[W] MLK: Memory leak of 144 bytes from 1 block allocated in nsForm::new(UINT)
Distribution of leaked blocks
Allocation location
new(UINT) [new.cpp:23]
nsForm::new(UINT) [nsForm.cpp:123]
NS_NewHTMLForm(nsIFormManager * *,nsIAtom *) [nsForm.cpp:1224]
HTMLContentSink::OpenForm(nsIParserNode const&)
[nsHTMLContentSink.cpp:557]
CNavDTD::OpenForm(nsIParserNode const&) [CNavDTD.cpp:2461]
CNavDTD::HandleStartToken(CToken *) [CNavDTD.cpp:797]
NavDispatchTokenHandler(CToken *,nsIDTD *) [CNavDTD.cpp:417]
CTokenHandler::()(CToken *,nsIDTD *) [nsTokenHandler.cpp:80]
CNavDTD::HandleToken(CToken *) [CNavDTD.cpp:679]
nsParser::BuildModel(void) [nsParser.cpp:586]
nsParser::ResumeParse(void) [nsParser.cpp:550]
nsParser::OnDataAvailable(nsIURL *,nsIInputStream *,int)
[nsParser.cpp:761]
nsDocumentBindInfo::OnDataAvailable(nsIURL *,nsIInputStream *,int)
[nsDocLoader.cpp:1056]
stub_put_block(_NET_StreamClass *,char const*,long)
[nsStubContext.cpp:566]
net_read_file_chunk [mkfile.c:887]
Updated•26 years ago
|
Component: Unknown → Form Submission
Comment 1•26 years ago
|
||
setting component field
Assignee | ||
Updated•26 years ago
|
Status: NEW → ASSIGNED
Assignee | ||
Updated•26 years ago
|
Status: ASSIGNED → NEW
Assignee | ||
Updated•26 years ago
|
Status: NEW → ASSIGNED
Assignee | ||
Updated•26 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 26 years ago
Resolution: --- → FIXED
Comment 2•26 years ago
|
||
[Pinged Troy to ask if he'd be able to verify this bug, since QA doesn't have
access to Purify for memory leak checking.]
Updated•6 years ago
|
Component: HTML: Form Submission → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•