SVN r86 (trunk)

This commit is contained in:
Randy Heit 2006-05-09 00:04:36 +00:00
parent 748d7bf4b1
commit fa2ef4611b

View file

@ -118,11 +118,6 @@ static struct TypeInfoDataFreeer
void TypeInfo::StaticFreeData (TypeInfo *type)
{
if (type->ActorInfo != NULL)
{
delete type->ActorInfo;
type->ActorInfo = NULL;
}
if (type->bRuntimeClass)
{
if (type->Name != NULL)
@ -130,6 +125,11 @@ void TypeInfo::StaticFreeData (TypeInfo *type)
delete[] type->Name;
}
type->Name = NULL;
if (type->ActorInfo != NULL)
{
delete type->ActorInfo;
type->ActorInfo = NULL;
}
delete type;
}
}