RESOLVED FIXED 5839
Close the 19,000+ leaks introduced during the DOM merger
https://bugs.webkit.org/show_bug.cgi?id=5839
Summary Close the 19,000+ leaks introduced during the DOM merger
Eric Seidel (no email)
Reported 2005-11-26 15:10:54 PST
Close the 19,000+ leaks introduced during the DOM merger The attach patch closes all known leaks in WebKit+SVG.
Attachments
Closes leaks from the DOM merger, adds back resource dumping, etc. (62.01 KB, patch)
2005-11-26 15:35 PST, Eric Seidel (no email)
mjs: review+
Eric Seidel (no email)
Comment 1 2005-11-26 15:11:05 PST
The patch also includes a (necessary) optimization to KCanvasContainer::paint() and (RenderPath::paint()) to not push a new KRenderingDeviceContext onto the context stack if one has already been pushed. Not adding this optimization was causing CGContextBeginTransparency layer to have kittens... I was never able to fully understand why, except that the transparency layer methods, as part of their silent context swapping, seem to assume a certain CGContextRef, CGContextRelease pattern which we don't seem to follow, even though my previous code seemed perfectly legal.
Eric Seidel (no email)
Comment 2 2005-11-26 15:35:50 PST
Created attachment 4811 [details] Closes leaks from the DOM merger, adds back resource dumping, etc.
Maciej Stachowiak
Comment 3 2005-11-27 02:06:11 PST
Comment on attachment 4811 [details] Closes leaks from the DOM merger, adds back resource dumping, etc. __sharedRenderingDevice Please remove the underscores from this, identifiers w/ two leading underscores are reserved to the implementation. Other than that r=me
Note You need to log in before you can comment on or make changes to this bug.