| Index: xfa/fwl/basewidget/fxmath_barcodeimp.cpp
|
| diff --git a/xfa/fwl/basewidget/fxmath_barcodeimp.cpp b/xfa/fwl/basewidget/fxmath_barcodeimp.cpp
|
| index 5ca09276710363845eb0476f03a40ed45de769b9..5efd1621c82b19ec2ab23ed998e76dcd3780d265 100644
|
| --- a/xfa/fwl/basewidget/fxmath_barcodeimp.cpp
|
| +++ b/xfa/fwl/basewidget/fxmath_barcodeimp.cpp
|
| @@ -46,13 +46,13 @@ static CBC_CodeBase* FX_Barcode_CreateBarCodeEngineObject(BC_TYPE type) {
|
| return NULL;
|
| }
|
| }
|
| +
|
| CFX_Barcode::CFX_Barcode() {}
|
| +
|
| CFX_Barcode::~CFX_Barcode() {
|
| - if (m_pBCEngine) {
|
| - delete m_pBCEngine;
|
| - m_pBCEngine = NULL;
|
| - }
|
| + delete m_pBCEngine;
|
| }
|
| +
|
| FX_BOOL CFX_Barcode::Create(BC_TYPE type) {
|
| m_pBCEngine = FX_Barcode_CreateBarCodeEngineObject(type);
|
| return m_pBCEngine != NULL;
|
|
|