| Index: xfa/fxbarcode/common/reedsolomon/BC_ReedSolomonGF256.cpp
|
| diff --git a/xfa/fxbarcode/common/reedsolomon/BC_ReedSolomonGF256.cpp b/xfa/fxbarcode/common/reedsolomon/BC_ReedSolomonGF256.cpp
|
| index 5e9fd33ac4017162041615f581e629cb67584b13..33771418d4571001291bda171af51be2c7804b24 100644
|
| --- a/xfa/fxbarcode/common/reedsolomon/BC_ReedSolomonGF256.cpp
|
| +++ b/xfa/fxbarcode/common/reedsolomon/BC_ReedSolomonGF256.cpp
|
| @@ -31,16 +31,14 @@ void CBC_ReedSolomonGF256::Initialize() {
|
| DataMatrixField = new CBC_ReedSolomonGF256(0x012D);
|
| DataMatrixField->Init();
|
| }
|
| +
|
| void CBC_ReedSolomonGF256::Finalize() {
|
| - if (QRCodeFild) {
|
| - delete QRCodeFild;
|
| - }
|
| - QRCodeFild = NULL;
|
| - if (DataMatrixField) {
|
| - delete DataMatrixField;
|
| - }
|
| - DataMatrixField = NULL;
|
| + delete QRCodeFild;
|
| + QRCodeFild = nullptr;
|
| + delete DataMatrixField;
|
| + DataMatrixField = nullptr;
|
| }
|
| +
|
| CBC_ReedSolomonGF256::CBC_ReedSolomonGF256(int32_t primitive) {
|
| int32_t x = 1;
|
| for (int32_t j = 0; j < 256; j++) {
|
|
|