(svn r20755) -Fix (r19975): small memory leak at program exit (happens only once)

This commit is contained in:
smatz
2010-09-06 15:47:11 +00:00
parent a25dc57aac
commit ec106759d1

View File

@@ -42,6 +42,14 @@ struct LoadCheckData {
this->Clear(); this->Clear();
} }
/**
* Don't leak memory at program exit
*/
~LoadCheckData()
{
this->Clear();
}
/** /**
* Check whether loading the game resulted in errors. * Check whether loading the game resulted in errors.
* @return true if errors were encountered. * @return true if errors were encountered.