Skip to content

Commit

Permalink
Remove double delete
Browse files Browse the repository at this point in the history
  • Loading branch information
kimkulling committed Nov 14, 2023
1 parent 9efbbe0 commit f0e7448
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions code/AssetLib/3MF/D3MFOpcPackage.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -186,9 +186,6 @@ D3MFOpcPackage::D3MFOpcPackage(IOSystem *pIOHandler, const std::string &rFile) :
D3MFOpcPackage::~D3MFOpcPackage() {
mZipArchive->Close(mRootStream);
delete mZipArchive;
for (auto tex : mEmbeddedTextures) {
delete tex;
}
}

IOStream *D3MFOpcPackage::RootStream() const {
Expand Down

0 comments on commit f0e7448

Please sign in to comment.