Closed Bug 49579 Opened 25 years ago Closed 25 years ago

nsXMLDocument::StartDocumentLoad() leaks a char*

Categories

(Core :: XML, defect, P3)

defect

Tracking

()

VERIFIED FIXED

People

(Reporter: bruce, Assigned: nisheeth_mozilla)

Details

(Whiteboard: [nsbeta3+])

Attachments

(1 file)

nsXMLDocument::StartDocumentLoad() [nsXMLDocument.cpp:338] calls aChannel->GetContentType(), but fails to free the memory allocated as a result of that call.
Give to nisheeth...
Assignee: clayton → nisheeth
Component: Layout → XML
Attaching a fix. Could somebody please code review? Thanks. Marking nsbeta3+.
Status: NEW → ASSIGNED
Keywords: nsbeta3
Whiteboard: [nsbeta3+]
Attached patch Attempted FixSplinter Review
Fix checked in after a review by Johnny.
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Marking verfied per last comments.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: