1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-08 19:48:20 +02:00

Fixed boxed type dtor

This commit is contained in:
Brian Fiete 2021-12-16 08:26:33 -05:00
parent 7b65f8887e
commit 9f4a75dba3

View file

@ -2630,7 +2630,7 @@ void BfTupleType::Finish()
BfBoxedType::~BfBoxedType()
{
if (mTypeDef->mEmitParent != NULL)
if ((mTypeDef != NULL) && (mTypeDef->mEmitParent != NULL))
mTypeDef = mTypeDef->mEmitParent;
}