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 {