WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
50439
[chromium] PNG encoder leaks memory on png_write_row errors.
https://bugs.webkit.org/show_bug.cgi?id=50439
Summary
[chromium] PNG encoder leaks memory on png_write_row errors.
noel gordon
Reported
2010-12-02 23:01:06 PST
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.
Attachments
patch
(4.26 KB, patch)
2010-12-02 23:29 PST
,
noel gordon
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
noel gordon
Comment 1
2010-12-02 23:29:07 PST
Created
attachment 75467
[details]
patch
WebKit Commit Bot
Comment 2
2010-12-03 00:53:58 PST
Comment on
attachment 75467
[details]
patch Clearing flags on attachment: 75467 Committed
r73250
: <
http://trac.webkit.org/changeset/73250
>
WebKit Commit Bot
Comment 3
2010-12-03 00:54:03 PST
All reviewed patches have been landed. Closing bug.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug