Closed
Bug 288852
Opened 20 years ago
Closed 20 years ago
Memory leak in nsHTMLLinkAccessibleWrap::GetLinkOffset
Categories
(Core :: Disability Access APIs, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 288848
People
(Reporter: bzbarsky, Assigned: Louie.Zhao)
Details
(Keywords: memory-leak)
The line:
nsCOMPtr<nsIDOMNode> domNode(do_QueryInterface(mTextNodes->ElementAt(index)));
leaks, since nsISupportsArray::ElementAt addrefs
the node before returning it. This should just use do_QueryElementAt, or
perhaps use an nsCOMArray<nsIDOMNode> for mTextNodes.
Updated•20 years ago
|
Assignee: aaronleventhal → Louie.Zhao
| Assignee | ||
Comment 1•20 years ago
|
||
*** This bug has been marked as a duplicate of 288848 ***
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•