Index: xfa/src/fxbarcode/oned/BC_OnedUPCAReader.cpp |
diff --git a/xfa/src/fxbarcode/oned/BC_OnedUPCAReader.cpp b/xfa/src/fxbarcode/oned/BC_OnedUPCAReader.cpp |
index 14040632a7f7e4ac0c502e864cb3f5520ca3623d..416b08ae9a8642b83c5e1056a575f6344bb90f61 100644 |
--- a/xfa/src/fxbarcode/oned/BC_OnedUPCAReader.cpp |
+++ b/xfa/src/fxbarcode/oned/BC_OnedUPCAReader.cpp |
@@ -35,10 +35,7 @@ void CBC_OnedUPCAReader::Init() { |
m_ean13Reader = new CBC_OnedEAN13Reader; |
} |
CBC_OnedUPCAReader::~CBC_OnedUPCAReader() { |
- if (m_ean13Reader != NULL) { |
- delete m_ean13Reader; |
- } |
- m_ean13Reader = NULL; |
+ delete m_ean13Reader; |
} |
CFX_ByteString CBC_OnedUPCAReader::DecodeRow(int32_t rowNumber, |
CBC_CommonBitArray* row, |