summaryrefslogtreecommitdiff
path: root/xfa/src/fxbarcode/BC_TwoDimWriter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'xfa/src/fxbarcode/BC_TwoDimWriter.cpp')
-rw-r--r--xfa/src/fxbarcode/BC_TwoDimWriter.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/xfa/src/fxbarcode/BC_TwoDimWriter.cpp b/xfa/src/fxbarcode/BC_TwoDimWriter.cpp
index 3d36135482..a5483026eb 100644
--- a/xfa/src/fxbarcode/BC_TwoDimWriter.cpp
+++ b/xfa/src/fxbarcode/BC_TwoDimWriter.cpp
@@ -17,10 +17,7 @@ CBC_TwoDimWriter::CBC_TwoDimWriter() {
m_output = NULL;
}
CBC_TwoDimWriter::~CBC_TwoDimWriter() {
- if (m_output != NULL) {
- delete m_output;
- m_output = NULL;
- }
+ delete m_output;
}
void CBC_TwoDimWriter::RenderDeviceResult(CFX_RenderDevice* device,
const CFX_Matrix* matrix) {