Index: xfa/src/fxbarcode/common/BC_CommonDecoderResult.cpp |
diff --git a/xfa/src/fxbarcode/common/BC_CommonDecoderResult.cpp b/xfa/src/fxbarcode/common/BC_CommonDecoderResult.cpp |
index 5342cfcca7a872f04c8b0248bef66bc9b6523ec2..a4ad0c4e65d836df75597c3794377ae57b931c2e 100644 |
--- a/xfa/src/fxbarcode/common/BC_CommonDecoderResult.cpp |
+++ b/xfa/src/fxbarcode/common/BC_CommonDecoderResult.cpp |
@@ -61,9 +61,7 @@ void CBC_CommonDecoderResult::setOther(CBC_PDF417ResultMetadata* other) { |
m_other = other; |
} |
CBC_CommonDecoderResult::~CBC_CommonDecoderResult() { |
- if (m_other != NULL) { |
- delete m_other; |
- } |
+ delete m_other; |
} |
const CFX_ByteArray& CBC_CommonDecoderResult::GetRawBytes() { |
return m_rawBytes; |