diff options
Diffstat (limited to 'xfa/src/fxbarcode/common/BC_CommonDecoderResult.cpp')
-rw-r--r-- | xfa/src/fxbarcode/common/BC_CommonDecoderResult.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/xfa/src/fxbarcode/common/BC_CommonDecoderResult.cpp b/xfa/src/fxbarcode/common/BC_CommonDecoderResult.cpp index 5342cfcca7..a4ad0c4e65 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; |