Index: xfa/src/fxbarcode/qrcode/BC_QRCodeReader.cpp |
diff --git a/xfa/src/fxbarcode/qrcode/BC_QRCodeReader.cpp b/xfa/src/fxbarcode/qrcode/BC_QRCodeReader.cpp |
index 9eaffa119d26b2c5850b0d2ba6492073a8583b46..c594230428b8eb5d484536f99e3cbea8150e786d 100644 |
--- a/xfa/src/fxbarcode/qrcode/BC_QRCodeReader.cpp |
+++ b/xfa/src/fxbarcode/qrcode/BC_QRCodeReader.cpp |
@@ -46,10 +46,7 @@ void CBC_QRCodeReader::Init() { |
m_decoder->Init(); |
} |
CBC_QRCodeReader::~CBC_QRCodeReader() { |
- if (m_decoder != NULL) { |
- delete m_decoder; |
- } |
- m_decoder = NULL; |
+ delete m_decoder; |
} |
CFX_ByteString CBC_QRCodeReader::Decode(CBC_BinaryBitmap* image, |
int32_t hints, |