diff options
Diffstat (limited to 'xfa/src/fxbarcode/common/BC_CommonByteMatrix.cpp')
-rw-r--r-- | xfa/src/fxbarcode/common/BC_CommonByteMatrix.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/xfa/src/fxbarcode/common/BC_CommonByteMatrix.cpp b/xfa/src/fxbarcode/common/BC_CommonByteMatrix.cpp index 656071fa31..69c39a766c 100644 --- a/xfa/src/fxbarcode/common/BC_CommonByteMatrix.cpp +++ b/xfa/src/fxbarcode/common/BC_CommonByteMatrix.cpp @@ -33,10 +33,7 @@ void CBC_CommonByteMatrix::Init() { FXSYS_memset(m_bytes, 0xff, m_height * m_width); } CBC_CommonByteMatrix::~CBC_CommonByteMatrix() { - if (m_bytes != NULL) { - FX_Free(m_bytes); - m_bytes = NULL; - } + FX_Free(m_bytes); } int32_t CBC_CommonByteMatrix::GetHeight() { return m_height; |