Fix a memory leak when decoding corrupted indexed PNGs.
authordml <dml@google.com>
Wed, 11 Mar 2015 18:12:54 +0000 (11:12 -0700)
committerCommit bot <commit-bot@chromium.org>
Wed, 11 Mar 2015 18:12:54 +0000 (11:12 -0700)
commitf45796ee0eb46c2d08a6d1547622043892c525eb
tree966cd8f7ca47977c9c05f6f23c74520f6dff9e8d
parent180aec43451dd951fdaae81a92efc710ba093260
Fix a memory leak when decoding corrupted indexed PNGs.
Commit to branch refs/heads/png-leak

BUG=skia:3457

Committed: https://skia.googlesource.com/skia/+/561a1ca9559a1ea7589ab93350124284fcef3315

Review URL: https://codereview.chromium.org/951663002
gyp/tests.gypi
src/images/SkImageDecoder_libpng.cpp
tests/InvalidIndexedPngTest.cpp [new file with mode: 0644]