Index: src/codec/SkJpegCodec.cpp |
diff --git a/src/codec/SkJpegCodec.cpp b/src/codec/SkJpegCodec.cpp |
index a342cd8b6a6e9def55440b7f970ab3abc7a2f486..2534a5f12317c037ed7c68e9dd5a6200e6fdd14f 100644 |
--- a/src/codec/SkJpegCodec.cpp |
+++ b/src/codec/SkJpegCodec.cpp |
@@ -413,7 +413,7 @@ |
// Remove objects used for sampling. |
fSwizzler.reset(nullptr); |
fSrcRow = nullptr; |
- fStorage.reset(); |
+ fStorage.free(); |
// Now, given valid output dimensions, we can start the decompress |
if (!jpeg_start_decompress(fDecoderMgr->dinfo())) { |