Skip to content

Commit

Permalink
Actually don't free values in RandAA.reserve.
Browse files Browse the repository at this point in the history
Fixes issues with corrupted values under GC load.
  • Loading branch information
s-ludwig committed Jun 18, 2024
1 parent 3aa9957 commit d788f49
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion engine/source/dmdscript/RandAA.d
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit d788f49

Please sign in to comment.