[Webkit-unassigned] [Bug 118781] Fix memory leaks in platform/image-encoders/JPEGImageEncoder.cpp

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


https://bugs.webkit.org/show_bug.cgi?id=118781


liangjun zeng <lizeng at blackberry.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #206860|                            |review?
               Flag|                            |




--- Comment #1 from liangjun zeng <lizeng at blackberry.com>  2013-07-16 23:55:31 PST ---
Created an attachment (id=206860)
 --> (https://bugs.webkit.org/attachment.cgi?id=206860&action=review)
Add the compression destroy at the end

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.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the webkit-unassigned mailing list