From 0f216786991091a51cf11caf090825f70c736298 Mon Sep 17 00:00:00 2001 From: DavidXanatos Date: Tue, 10 Jan 2023 22:32:29 +0100 Subject: [PATCH] 1.6.6 --- CHANGELOG.md | 9 +++++---- SandboxiePlus/MiscHelpers/Common/PoolAllocator.h | 9 ++++++--- 2 files changed, 11 insertions(+), 7 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a23c883f..f1d6b12a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,12 +8,13 @@ This project adheres to [Semantic Versioning](http://semver.org/). ## [1.6.6 / 5.61.6] - 2023-01-? -### fixed -- fixed potential BSOD issue in the driver - -### changed +## Changed - improved trace log retrival greately improving performance +### Fixed +- fixed potential BSOD issue in the driver +- fixed crash in in trace log [#2599](https://github.com/sandboxie-plus/Sandboxie/issues/2599) + diff --git a/SandboxiePlus/MiscHelpers/Common/PoolAllocator.h b/SandboxiePlus/MiscHelpers/Common/PoolAllocator.h index 121df9dc..342ceb45 100644 --- a/SandboxiePlus/MiscHelpers/Common/PoolAllocator.h +++ b/SandboxiePlus/MiscHelpers/Common/PoolAllocator.h @@ -37,9 +37,12 @@ public: stack = top; } void dispose() { - for (auto page : pages) - ::free(page); - stack = nullptr; + if (stack) { + for (auto page : pages) + ::free(page); + pages.clear(); + stack = nullptr; + } } private: