(svn r20755) -Fix (r19975): small memory leak at program exit (happens only once)
This commit is contained in:
@@ -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.
|
||||||
|
Reference in New Issue
Block a user