mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-21 17:28:00 +02:00
Fix BumpAllocator destructor when deleting large allocations with destructors
This commit is contained in:
parent
7a2fbdfc30
commit
906248bd98
1 changed files with 1 additions and 1 deletions
|
@ -67,7 +67,7 @@ namespace System
|
||||||
{
|
{
|
||||||
for (var obj in mLargeDtorAllocs)
|
for (var obj in mLargeDtorAllocs)
|
||||||
{
|
{
|
||||||
delete obj;
|
delete:null obj;
|
||||||
FreeLarge(Internal.UnsafeCastToPtr(obj));
|
FreeLarge(Internal.UnsafeCastToPtr(obj));
|
||||||
}
|
}
|
||||||
delete mLargeDtorAllocs;
|
delete mLargeDtorAllocs;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue