diff options
Diffstat (limited to 'xfa/src/fxbarcode/oned/BC_OnedCode39Reader.cpp')
-rw-r--r-- | xfa/src/fxbarcode/oned/BC_OnedCode39Reader.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/xfa/src/fxbarcode/oned/BC_OnedCode39Reader.cpp b/xfa/src/fxbarcode/oned/BC_OnedCode39Reader.cpp index 73999a4818..5f0ad98d65 100644 --- a/xfa/src/fxbarcode/oned/BC_OnedCode39Reader.cpp +++ b/xfa/src/fxbarcode/oned/BC_OnedCode39Reader.cpp @@ -58,10 +58,7 @@ CFX_ByteString CBC_OnedCode39Reader::DecodeRow(int32_t rowNumber, CFX_Int32Array* start = FindAsteriskPattern(row, e); BC_EXCEPTION_CHECK_ReturnValue(e, ""); int32_t nextStart = (*start)[1]; - if (start != NULL) { - delete start; - start = NULL; - } + delete start; int32_t end = row->GetSize(); while (nextStart < end && !row->Get(nextStart)) { nextStart++; |