From d788f49580c91937c3d6d2060bcc6ba1dbc647be Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B6nke=20Ludwig?= Date: Tue, 18 Jun 2024 11:17:57 +0200 Subject: [PATCH] Actually don't free values in RandAA.reserve. Fixes issues with corrupted values under GC load. --- engine/source/dmdscript/RandAA.d | 1 - 1 file changed, 1 deletion(-) diff --git a/engine/source/dmdscript/RandAA.d b/engine/source/dmdscript/RandAA.d index 82d6a03..53bf61d 100644 --- a/engine/source/dmdscript/RandAA.d +++ b/engine/source/dmdscript/RandAA.d @@ -510,7 +510,6 @@ public: // handle it. GC.free(cast(void*)this._keys); GC.free(cast(void*)this.flags); - GC.free(cast(void*)this.vals); static if(storeHash) {