http://build.webkit.org/LeaksViewer/?url=http%3A%2F%2Fbuild.webkit.org%2F%2Fresults%2FSnowLeopard%20Intel%20Leaks%2Fr98879%20(19849)%2F malloc_zone_malloc > malloc > fastMalloc > RenderFlowThread::setRegionRangeForBox We're leaking in this function. Looks like we're allocating a new RenderRegionRange, storing it in a HashMap, and never deleting it.
<rdar://problem/10374428>
*** Bug 71620 has been marked as a duplicate of this bug. ***
This is the same leak as 71259. *** This bug has been marked as a duplicate of bug 71259 ***
How are they the same? Bug 71259 is about leaks of RenderBoxRegionInfo objects, this bug is about leaks of RenderRegionRange objects.
I guess one of those objects could own the other…
Adam’s right. This is not a duplicate.
In function RenderFlowThread::removeRenderBoxRegionInfo, the RenderRegionRange* for box is removed from the map but not deleted.
Yes, you can see the patch I already posted and got reviewed to fix this in bug 71620.
Committed r99384: <http://trac.webkit.org/changeset/99384>