Update MemoryIOWrapper.h

kimkulling/close_memleak-issue-3416
Kim Kulling 2023-02-03 12:57:23 +01:00 committed by GitHub
parent 8030a3264a
commit 8cb0a59f95
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -159,7 +159,7 @@ public:
/** Destructor. */
~MemoryIOSystem() {
for (auto &it : created_streams) {
MemoryIOSystem::Close(it);
delete it;
}
}