DescriptionClean up after longjmp in SkImageDecoder_libpng.
In onDecodeInit, if longjmp sends us back to setjmp, destroy the
png_struct and info_ptr before returning false. Since the
PNGAutoClean has not been created yet, we were previously
leaking resources.
R=djsollen@google.com
Committed: https://code.google.com/p/skia/source/detail?r=12244
Patch Set 1 #
Messages
Total messages: 3 (0 generated)
|