Index: core/src/fxcodec/codec/codec_int.h |
diff --git a/core/src/fxcodec/codec/codec_int.h b/core/src/fxcodec/codec/codec_int.h |
index e9449693dd386c87a73bac992b5f41d863678349..985b19b6a9da0240481137f3ed44b28917d04486 100644 |
--- a/core/src/fxcodec/codec/codec_int.h |
+++ b/core/src/fxcodec/codec/codec_int.h |
@@ -61,9 +61,7 @@ class CCodec_ScanlineDecoder : public ICodec_ScanlineDecoder { |
FX_BOOL IsColorTransformed() { return m_bColorTransformed; } |
void ClearImageData() { |
- if (m_pDataCache) { |
FX_Free(m_pDataCache); |
- } |
m_pDataCache = NULL; |
} |