diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-08-09 18:46:12 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-08-09 18:46:12 +0300 |
commit | 36858a520a456dd5de60afcda3a37a03fb51dde4 (patch) | |
tree | 8ebdf2a19a578a4ac1cf3c15831a15cd95880312 | |
parent | 58ff96ae10908ce63b230074b26e2db10b9cc22d (diff) | |
download | manaplus-36858a520a456dd5de60afcda3a37a03fb51dde4.tar.gz manaplus-36858a520a456dd5de60afcda3a37a03fb51dde4.tar.bz2 manaplus-36858a520a456dd5de60afcda3a37a03fb51dde4.tar.xz manaplus-36858a520a456dd5de60afcda3a37a03fb51dde4.zip |
Fix memory leak after disconnect in spellsmanager.
-rw-r--r-- | src/client.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client.cpp b/src/client.cpp index d0abd144b..39bdc7223 100644 --- a/src/client.cpp +++ b/src/client.cpp @@ -1232,6 +1232,7 @@ int Client::gameExec() TranslationManager::loadCurrentLang(); PlayerInfo::stateChange(mState); + delete spellManager; spellManager = new SpellManager; spellShortcut = new SpellShortcut; |