Fixed not destroying CGameData

This also fixed failing assertion in tests