Closed Bug 676 Opened 26 years ago Closed 26 years ago

Purify Reports Leak of Form Object

Categories

(Core :: DOM: Core & HTML, defect, P1)

x86
Windows NT
defect

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]
Component: Unknown → Form Submission
setting component field
Status: NEW → ASSIGNED
Status: ASSIGNED → NEW
Status: NEW → ASSIGNED
Status: ASSIGNED → RESOLVED
Closed: 26 years ago
Resolution: --- → FIXED
[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.]
Status: RESOLVED → VERIFIED
Component: HTML: Form Submission → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.