Properly free memory for m_story_mode_status and m_achievements_status

This commit is contained in:
Tobias Markus 2016-03-17 15:48:24 +01:00
parent 970159d98f
commit 8ae746f330

View File

@ -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