Index: xfa/src/fxbarcode/qrcode/BC_QRCoderDecoder.cpp |
diff --git a/xfa/src/fxbarcode/qrcode/BC_QRCoderDecoder.cpp b/xfa/src/fxbarcode/qrcode/BC_QRCoderDecoder.cpp |
index fcef73acbfb19d68268cb60ecde36bdca8fa77b9..ebaa40fd12c112da748af2a496bb0f1b20bacb38 100644 |
--- a/xfa/src/fxbarcode/qrcode/BC_QRCoderDecoder.cpp |
+++ b/xfa/src/fxbarcode/qrcode/BC_QRCoderDecoder.cpp |
@@ -39,10 +39,7 @@ void CBC_QRCoderDecoder::Init() { |
m_rsDecoder = new CBC_ReedSolomonDecoder(CBC_ReedSolomonGF256::QRCodeFild); |
} |
CBC_QRCoderDecoder::~CBC_QRCoderDecoder() { |
- if (m_rsDecoder != NULL) { |
- delete m_rsDecoder; |
- } |
- m_rsDecoder = NULL; |
+ delete m_rsDecoder; |
} |
CBC_CommonDecoderResult* CBC_QRCoderDecoder::Decode(FX_BOOL* image, |
int32_t width, |