| Index: src/images/SkImageDecoder_libpng.cpp
|
| diff --git a/src/images/SkImageDecoder_libpng.cpp b/src/images/SkImageDecoder_libpng.cpp
|
| index e46def4cab49345643a94511a123804e31e4bde5..b51ffb9ea3676799d2387cdc3283ed2472cc345d 100644
|
| --- a/src/images/SkImageDecoder_libpng.cpp
|
| +++ b/src/images/SkImageDecoder_libpng.cpp
|
| @@ -309,12 +309,12 @@ bool SkPNGImageDecoder::onDecode(SkStream* sk_stream, SkBitmap* decodedBitmap,
|
| return false;
|
| }
|
|
|
| + PNGAutoClean autoClean(png_ptr, info_ptr);
|
| +
|
| if (setjmp(png_jmpbuf(png_ptr))) {
|
| return false;
|
| }
|
|
|
| - PNGAutoClean autoClean(png_ptr, info_ptr);
|
| -
|
| png_uint_32 origWidth, origHeight;
|
| int bitDepth, colorType, interlaceType;
|
| png_get_IHDR(png_ptr, info_ptr, &origWidth, &origHeight, &bitDepth,
|
|
|