diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-08-09 19:11:31 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-08-09 19:11:31 +0300 |
commit | 7dd7d00d8206cdf83c6e517044fe598f3a013020 (patch) | |
tree | 9e3a3314e11dd58bfa81539c852b10e98c9e985d /src | |
parent | 36858a520a456dd5de60afcda3a37a03fb51dde4 (diff) | |
download | manaverse-7dd7d00d8206cdf83c6e517044fe598f3a013020.tar.gz manaverse-7dd7d00d8206cdf83c6e517044fe598f3a013020.tar.bz2 manaverse-7dd7d00d8206cdf83c6e517044fe598f3a013020.tar.xz manaverse-7dd7d00d8206cdf83c6e517044fe598f3a013020.zip |
Fix memory leak after disconnect in spellshortcut.
Diffstat (limited to 'src')
-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 39bdc7223..b19d06bb0 100644 --- a/src/client.cpp +++ b/src/client.cpp @@ -1234,6 +1234,7 @@ int Client::gameExec() delete spellManager; spellManager = new SpellManager; + delete spellShortcut; spellShortcut = new SpellShortcut; // Load XML databases |