Once the encoder setjmp() is called during initialization, any C++ objects created after that point won't have their destructors called on error due to the way setjmp() unwinds the stack. So in the error case, the OwnArrayPtr |rowPixels| leaks its memory.
Created attachment 75467 [details]
Comment on attachment 75467 [details]
Clearing flags on attachment: 75467
Committed r73250: <http://trac.webkit.org/changeset/73250>
All reviewed patches have been landed. Closing bug.