Skip to content

Commit d788f49

Browse files
committed
Actually don't free values in RandAA.reserve.
Fixes issues with corrupted values under GC load.
1 parent 3aa9957 commit d788f49

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

engine/source/dmdscript/RandAA.d

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -510,7 +510,6 @@ public:
510510
// handle it.
511511
GC.free(cast(void*)this._keys);
512512
GC.free(cast(void*)this.flags);
513-
GC.free(cast(void*)this.vals);
514513

515514
static if(storeHash)
516515
{

0 commit comments

Comments
 (0)