mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-14 14:24:10 +02:00
EmitObjectAccessCheck for append field dtor to detect double delete
This commit is contained in:
parent
de7ec27032
commit
f6d18c111f
1 changed files with 2 additions and 0 deletions
|
@ -18011,6 +18011,8 @@ void BfModule::EmitDtorBody()
|
||||||
PopulateType(val.mType);
|
PopulateType(val.mType);
|
||||||
PopulateType(objectType, BfPopulateType_DataAndMethods);
|
PopulateType(objectType, BfPopulateType_DataAndMethods);
|
||||||
|
|
||||||
|
EmitObjectAccessCheck(val);
|
||||||
|
|
||||||
if (objectType->mVirtualMethodTable.size() == 0)
|
if (objectType->mVirtualMethodTable.size() == 0)
|
||||||
{
|
{
|
||||||
if (!mCompiler->IsAutocomplete())
|
if (!mCompiler->IsAutocomplete())
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue