1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-09 03:52:19 +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() BfBoxedType::~BfBoxedType()
{ {
if (mTypeDef->mEmitParent != NULL) if ((mTypeDef != NULL) && (mTypeDef->mEmitParent != NULL))
mTypeDef = mTypeDef->mEmitParent; mTypeDef = mTypeDef->mEmitParent;
} }