| 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 4a337b12cd7012fd572fb345d6962157f028a553..2e9f16be7b0345dcc4a73cb00889d8e4a1f8f7a8 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,
|
|
|