Update Exporter.cpp

Fix review finding.
This commit is contained in:
Kim Kulling
2018-11-13 13:10:16 +01:00
committed by GitHub
parent 3d57b86349
commit 6a8e11dbb2

View File

@@ -212,6 +212,7 @@ public:
for( unsigned int a = 0; a < mPostProcessingSteps.size(); a++) {
delete mPostProcessingSteps[a];
}
delete mProgressHandler;
}
public:
@@ -246,10 +247,6 @@ Exporter :: Exporter()
// ------------------------------------------------------------------------------------------------
Exporter::~Exporter() {
FreeBlob();
if (pimpl->mIsDefaultProgressHandler) {
delete pimpl->mProgressHandler;
pimpl->mProgressHandler = nullptr;
}
delete pimpl;
}