| Index: xfa/src/fxbarcode/datamatrix/BC_DataMatrixVersion.cpp
|
| diff --git a/xfa/src/fxbarcode/datamatrix/BC_DataMatrixVersion.cpp b/xfa/src/fxbarcode/datamatrix/BC_DataMatrixVersion.cpp
|
| index 7994594c55ae457ec3839101843760c60b4b3c40..0e0b07307bfabdb255f0dad1be2f7a632fd5a1c4 100644
|
| --- a/xfa/src/fxbarcode/datamatrix/BC_DataMatrixVersion.cpp
|
| +++ b/xfa/src/fxbarcode/datamatrix/BC_DataMatrixVersion.cpp
|
| @@ -55,10 +55,7 @@ CBC_DataMatrixVersion::CBC_DataMatrixVersion(int32_t versionNumber,
|
| m_totalCodewords = total;
|
| }
|
| CBC_DataMatrixVersion::~CBC_DataMatrixVersion() {
|
| - if (m_ecBlocks != NULL) {
|
| - delete m_ecBlocks;
|
| - }
|
| - m_ecBlocks = NULL;
|
| + delete m_ecBlocks;
|
| }
|
| int32_t CBC_DataMatrixVersion::GetVersionNumber() {
|
| return m_versionNumber;
|
|
|