From 8cb0a59f951ea2c932adda45dcc2b0e4caf74d37 Mon Sep 17 00:00:00 2001 From: Kim Kulling Date: Fri, 3 Feb 2023 12:57:23 +0100 Subject: [PATCH] Update MemoryIOWrapper.h --- include/assimp/MemoryIOWrapper.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/assimp/MemoryIOWrapper.h b/include/assimp/MemoryIOWrapper.h index 87b28ac91..15434dab7 100644 --- a/include/assimp/MemoryIOWrapper.h +++ b/include/assimp/MemoryIOWrapper.h @@ -159,7 +159,7 @@ public: /** Destructor. */ ~MemoryIOSystem() { for (auto &it : created_streams) { - MemoryIOSystem::Close(it); + delete it; } }