The SnowLeopard leaks bot is showing lots of leaks of SVGFilterBuilder objects in RenderSVGResourceFilter. I think the bug is in RenderSVGResourceFilter::applyResource, which allocates a FilterData (which holds an SVGFilterBuilder) on the heap, but doesn't destroy it when returning early under error conditions. Using an OwnPtr should fix this easily.
<rdar://problem/7888397>
Created attachment 53955 [details] Fix leaks of FilterData/SVGFilterBuilder in RenderSVGResourceFilter
Comment on attachment 53955 [details] Fix leaks of FilterData/SVGFilterBuilder in RenderSVGResourceFilter r=me
Committed r57980: <http://trac.webkit.org/changeset/57980>