[Webkit-unassigned] [Bug 66438] Abandoned Memory: SVGFontElement and Corresponding SVGDocument Never Deconstructed

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Sep 20 16:10:09 PDT 2011


https://bugs.webkit.org/show_bug.cgi?id=66438





--- Comment #9 from Justin Schuh <jschuh at chromium.org>  2011-09-20 16:10:08 PST ---
Yeah, my first patch does create a cycle (sorry about that). However, I don't see any changes to the calling code that would prevent the stale pointer from being left behind. I expect that the layout test I created just doesn't tickle a crash anymore due to changes in the use element.

I think the correct way to fix this is for the SVGFontElement to have a set of all the SVGFontFaceElements that point to it. On removal of either element it would just clear the respective back pointer.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list