Index: xfa/src/fxbarcode/common/BC_CommonByteMatrix.cpp |
diff --git a/xfa/src/fxbarcode/common/BC_CommonByteMatrix.cpp b/xfa/src/fxbarcode/common/BC_CommonByteMatrix.cpp |
index 656071fa316ff2e6e46597836da1ae907e94561e..69c39a766c6e925187e8768f13a0ff277f75eccd 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; |