From fd8ea13cbbe276de899a35f2772a1f05ab79c596 Mon Sep 17 00:00:00 2001 From: krzys-h Date: Thu, 26 Jun 2014 21:37:38 +0200 Subject: [PATCH] Fixed not destroying CGameData This also fixed failing assertion in tests --- src/app/app.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/app/app.cpp b/src/app/app.cpp index 1efabb53..8b310c99 100644 --- a/src/app/app.cpp +++ b/src/app/app.cpp @@ -180,6 +180,9 @@ CApplication::~CApplication() delete m_iMan; m_iMan = nullptr; + + delete m_gameData; + m_gameData = nullptr; GetSystemUtils()->DestroyTimeStamp(m_baseTimeStamp); GetSystemUtils()->DestroyTimeStamp(m_curTimeStamp);