| Index: src/codec/SkBmpCodec.cpp
|
| diff --git a/src/codec/SkBmpCodec.cpp b/src/codec/SkBmpCodec.cpp
|
| index 32f1d152770c81318568c0ce88b177cf29f407a6..e327f790187fc434aad4317b78e1f9650c40d294 100644
|
| --- a/src/codec/SkBmpCodec.cpp
|
| +++ b/src/codec/SkBmpCodec.cpp
|
| @@ -392,7 +392,7 @@ bool SkBmpCodec::ReadHeader(SkStream* stream, bool inIco, SkCodec** codecOut) {
|
| alphaType = kUnpremul_SkAlphaType;
|
| }
|
| }
|
| - iBuffer.free();
|
| + iBuffer.reset();
|
|
|
| // Additionally, 32 bit bmp-in-icos use the alpha channel.
|
| // FIXME (msarett): Don't all bmp-in-icos use the alpha channel?
|
|
|