Purify Reports Leak of Form Object

VERIFIED FIXED

Status

()

Core
HTML: Form Submission
P1
normal
VERIFIED FIXED
20 years ago
19 years ago

People

(Reporter: troy, Assigned: karnaze (gone))

Tracking

Trunk
x86
Windows NT
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

20 years ago
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

20 years ago
Component: Unknown → Form Submission

Comment 1

20 years ago
setting component field
(Assignee)

Updated

20 years ago
Status: NEW → ASSIGNED
(Assignee)

Updated

19 years ago
Status: ASSIGNED → NEW
(Assignee)

Updated

19 years ago
Status: NEW → ASSIGNED
(Assignee)

Updated

19 years ago
Status: ASSIGNED → RESOLVED
Last Resolved: 19 years ago
Resolution: --- → FIXED

Comment 2

19 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.]
(Reporter)

Updated

19 years ago
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.