fix memory and texture leak.

This commit is contained in:
Thad Ward
2005-10-30 21:50:05 +00:00
parent 7a2e51e7ea
commit 8e7c921af8
+5
View File
@@ -186,6 +186,11 @@ ScreenWithMenuElements::~ScreenWithMenuElements()
{
SAFE_DELETE( m_MenuTimer );
SAFE_DELETE( m_textHelp );
FOREACH_PlayerNumber( p )
{
if( m_MemoryCardDisplay[p] != NULL )
SAFE_DELETE( m_MemoryCardDisplay[p] );
}
}
void ScreenWithMenuElements::LoadHelpText()