Fix a memory leak in cmykjpeg GM.

Review URL: https://codereview.appspot.com/6448089

git-svn-id: http://skia.googlecode.com/svn/trunk@4861 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
scroggo@google.com 2012-07-31 16:37:11 +00:00
parent 1ee7c6a18a
commit 9f7520898e

View File

@ -37,6 +37,7 @@ public:
codec->setDitherImage(dither);
codec->decode(&stream, &fBitmap, prefConfig,
SkImageDecoder::kDecodePixels_Mode);
SkDELETE(codec);
}
}