Index: src/images/SkImageDecoder_libwebp.cpp |
diff --git a/src/images/SkImageDecoder_libwebp.cpp b/src/images/SkImageDecoder_libwebp.cpp |
index 52535779fa0b60eafd83939ec12ba725f873678f..2db08cee83dd5fd3ceb054a2e515ae12af8cd2cf 100644 |
--- a/src/images/SkImageDecoder_libwebp.cpp |
+++ b/src/images/SkImageDecoder_libwebp.cpp |
@@ -224,7 +224,7 @@ static bool webp_idecode(SkStream* stream, WebPDecoderConfig* config) { |
break; |
} |
} while (VP8_STATUS_OK != status); |
- srcStorage.free(); |
+ srcStorage.reset(); |
WebPIDelete(idec); |
WebPFreeDecBuffer(&config->output); |