Closed Bug 715615 Opened 9 years ago Closed 9 years ago

nsHTMLTableElement CC handling is suspicious

Categories

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

12 Branch
x86_64
Linux
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: smaug, Assigned: smaug)

Details

Attachments

(1 file)

nsHTMLTableElement doesn't unlink mTBodies nor mRows,
and mRows doesn't unlink mOrphanRows.

I haven't figured out whether there can a real leak somewhere, but I've
seen few CC logs where table element keeps a DOM tree alive and table element
has one unknown edge to it.
And to clarify, I haven't seen shutdown leaks, but only suspicious CC logs.
Attached patch patchSplinter Review
There should be null checks for all the unlinked variables.
Assignee: nobody → bugs
Attachment #586495 - Flags: review?(bzbarsky)
Comment on attachment 586495 [details] [diff] [review]
patch

r=me
Attachment #586495 - Flags: review?(bzbarsky) → review+
http://hg.mozilla.org/mozilla-central/rev/0e46065c6d9f
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.