(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 8cc43828e8
commit 8909a5a2da
1 changed files with 8 additions and 0 deletions

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.