From daca7121df4ea273f3d9f69a9318564d81bda5b1 Mon Sep 17 00:00:00 2001 From: Aleksei Kanash Date: Wed, 4 Apr 2012 18:14:00 +0300 Subject: [PATCH] Fix to cffadaptor - added forgotten "delete" in destructor. --- plugins/cffadaptor/src/UBCFFAdaptor.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plugins/cffadaptor/src/UBCFFAdaptor.cpp b/plugins/cffadaptor/src/UBCFFAdaptor.cpp index 6de92d92..af8b4f1b 100644 --- a/plugins/cffadaptor/src/UBCFFAdaptor.cpp +++ b/plugins/cffadaptor/src/UBCFFAdaptor.cpp @@ -1876,6 +1876,8 @@ UBCFFAdaptor::UBToCFFConverter::~UBToCFFConverter() delete mDataModel; if (mIWBContentWriter) delete mIWBContentWriter; + if (mDocumentToWrite) + delete mDocumentToWrite; } bool UBCFFAdaptor::UBToCFFConverter::isValid() const {