fix possible leak

This commit is contained in:
Glenn Maynard
2007-05-03 22:08:12 +00:00
parent a69ea4e78a
commit f7b64b7de2
+2
View File
@@ -20,6 +20,8 @@ AutoActor::AutoActor( const AutoActor &cpy )
AutoActor &AutoActor::operator=( const AutoActor &cpy )
{
Unload();
if( cpy.m_pActor == NULL )
m_pActor = NULL;
else