From 35a2d9982a1842576223613cb125d5f85448191e Mon Sep 17 00:00:00 2001 From: Kim Kulling Date: Tue, 14 Nov 2023 21:58:39 +0100 Subject: [PATCH] Remove double delete --- code/AssetLib/3MF/D3MFOpcPackage.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/code/AssetLib/3MF/D3MFOpcPackage.cpp b/code/AssetLib/3MF/D3MFOpcPackage.cpp index 934305d49..d833e7467 100644 --- a/code/AssetLib/3MF/D3MFOpcPackage.cpp +++ b/code/AssetLib/3MF/D3MFOpcPackage.cpp @@ -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 {