Leaks in XSLTProcessorImpl due to early-exit in failure case After adding two XSLT processor failure cases to the layout tests last week it's now possible to see a leak caused in that code path. The attached patch closes the leak.
Created attachment 5099 [details] Proposed patch
Comment on attachment 5099 [details] Proposed patch If the sourceDoc comes back 0, should we be returning true or false? This code returns true. Otherwise, looks fine. I guess I'll say review+.
Comment on attachment 5099 [details] Proposed patch Bah, my bad. Yeah, it's supposed to return false. I'll init success to false instead when landing.
Comment on attachment 5099 [details] Proposed patch This is wrong. I have a new patch I'll post.
Created attachment 5367 [details] Better fix