mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 12:32:20 +02:00
Fixed ctorClear on append allocs
This commit is contained in:
parent
c57451ec6c
commit
0030236705
1 changed files with 1 additions and 1 deletions
|
@ -14619,7 +14619,7 @@ void BfExprEvaluator::CreateObject(BfObjectCreateExpression* objCreateExpr, BfAs
|
|||
if (hasRealtimeLeakCheck)
|
||||
{
|
||||
// Dbg_ObjectAlloc clears internally so we don't need to call CtorClear for those
|
||||
if ((!isStackAlloc) && (!allocTarget.mCustomAllocator) && (allocTarget.mScopedInvocationTarget == NULL))
|
||||
if ((!isStackAlloc) && (!isAppendAlloc) && (!allocTarget.mCustomAllocator) && (allocTarget.mScopedInvocationTarget == NULL))
|
||||
wantsCtorClear = false;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue