| Index: xfa/src/fxbarcode/common/BC_CommonBitMatrix.cpp
|
| diff --git a/xfa/src/fxbarcode/common/BC_CommonBitMatrix.cpp b/xfa/src/fxbarcode/common/BC_CommonBitMatrix.cpp
|
| index aa4cb2c2433fe1910b9f443194e0f6fcfdb6fb2c..8423f7efcb110566b97f090527bdee13e63cde12 100644
|
| --- a/xfa/src/fxbarcode/common/BC_CommonBitMatrix.cpp
|
| +++ b/xfa/src/fxbarcode/common/BC_CommonBitMatrix.cpp
|
| @@ -46,11 +46,7 @@ void CBC_CommonBitMatrix::Init(int32_t width, int32_t height) {
|
| FXSYS_memset(m_bits, 0, m_rowSize * m_height * sizeof(int32_t));
|
| }
|
| CBC_CommonBitMatrix::~CBC_CommonBitMatrix() {
|
| - if (m_bits != NULL) {
|
| - FX_Free(m_bits);
|
| - }
|
| - m_bits = NULL;
|
| - m_height = m_width = m_rowSize = 0;
|
| + FX_Free(m_bits);
|
| }
|
| FX_BOOL CBC_CommonBitMatrix::Get(int32_t x, int32_t y) {
|
| int32_t offset = y * m_rowSize + (x >> 5);
|
|
|