[webkit-reviews] review requested: [Bug 118781] Fix memory leaks in platform/image-encoders/JPEGImageEncoder.cpp : [Attachment 206860] Add the compression destroy at the end

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jul 16 23:55:33 PDT 2013


liangjun zeng <lizeng at blackberry.com> has asked  for review:
Bug 118781: Fix memory leaks in platform/image-encoders/JPEGImageEncoder.cpp
https://bugs.webkit.org/show_bug.cgi?id=118781

Attachment 206860: Add the compression destroy at the end
https://bugs.webkit.org/attachment.cgi?id=206860&action=review

------- Additional Comments from liangjun zeng <lizeng at blackberry.com>
We can find the function "jpeg_finish_compress" call the function "jpeg_abort"
at the end.
And the comments of "jpeg_abort" is "Abort processing of a JPEG compression
operation,
but don't destroy the object itself". (We can find these in the "jcapimin.c" of
jpeg)
So the compression destroy need be called.


More information about the webkit-reviews mailing list