Properly free memory for m_story_mode_status and m_achievements_status
This commit is contained in:
parent
970159d98f
commit
8ae746f330
@ -99,6 +99,8 @@ PlayerProfile::PlayerProfile(const XMLNode* node)
|
||||
//------------------------------------------------------------------------------
|
||||
PlayerProfile::~PlayerProfile()
|
||||
{
|
||||
delete m_story_mode_status;
|
||||
delete m_achievements_status;
|
||||
#ifdef DEBUG
|
||||
m_magic_number = 0xDEADBEEF;
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user