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 28262ca1f016f7ecc581ea7d78b7135020f15ff1..4fb3a3fad6eaf643c73f7852af59be9af18ede92 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; |