diff options
Diffstat (limited to 'xfa/src/fxbarcode/datamatrix/BC_DataMatrixVersion.cpp')
-rw-r--r-- | xfa/src/fxbarcode/datamatrix/BC_DataMatrixVersion.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/xfa/src/fxbarcode/datamatrix/BC_DataMatrixVersion.cpp b/xfa/src/fxbarcode/datamatrix/BC_DataMatrixVersion.cpp index 28262ca1f0..4fb3a3fad6 100644 --- a/xfa/src/fxbarcode/datamatrix/BC_DataMatrixVersion.cpp +++ b/xfa/src/fxbarcode/datamatrix/BC_DataMatrixVersion.cpp @@ -59,10 +59,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; |