diff options
Diffstat (limited to 'xfa/src/fxbarcode/qrcode/BC_QRDetectorResult.cpp')
-rw-r--r-- | xfa/src/fxbarcode/qrcode/BC_QRDetectorResult.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/xfa/src/fxbarcode/qrcode/BC_QRDetectorResult.cpp b/xfa/src/fxbarcode/qrcode/BC_QRDetectorResult.cpp index fad100816f..df83d35be7 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; |