Index: xfa/src/fxbarcode/qrcode/BC_QRDetectorResult.cpp |
diff --git a/xfa/src/fxbarcode/qrcode/BC_QRDetectorResult.cpp b/xfa/src/fxbarcode/qrcode/BC_QRDetectorResult.cpp |
index fad100816f5bf53bf6dfe52ec2e51cfbb9b416b4..df83d35be7072ddd4e1251bedf0d2e0484e505b4 100644 |
--- a/xfa/src/fxbarcode/qrcode/BC_QRDetectorResult.cpp |
+++ b/xfa/src/fxbarcode/qrcode/BC_QRDetectorResult.cpp |
@@ -33,11 +33,7 @@ CBC_QRDetectorResult::~CBC_QRDetectorResult() { |
} |
m_points->RemoveAll(); |
delete m_points; |
- m_points = NULL; |
- if (m_bits != NULL) { |
- delete m_bits; |
- } |
- m_bits = NULL; |
+ delete m_bits; |
} |
CBC_CommonBitMatrix* CBC_QRDetectorResult::GetBits() { |
return m_bits; |