summaryrefslogtreecommitdiff
path: root/src/client.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-05-24 02:54:01 +0300
committerAndrei Karas <akaras@inbox.ru>2011-05-24 02:54:01 +0300
commita0b5f5fee9809670c2c9cf9b1f63ab2be11fd9fd (patch)
treeb666fed3ff9bdea61159190035d697ea562c4faa /src/client.cpp
parentd2c42029b98c665725768b891aa877eb3267664f (diff)
downloadplus-a0b5f5fee9809670c2c9cf9b1f63ab2be11fd9fd.tar.gz
plus-a0b5f5fee9809670c2c9cf9b1f63ab2be11fd9fd.tar.bz2
plus-a0b5f5fee9809670c2c9cf9b1f63ab2be11fd9fd.tar.xz
plus-a0b5f5fee9809670c2c9cf9b1f63ab2be11fd9fd.zip
Fix leaks in client, skilldialog and playerinfo classes.
Diffstat (limited to 'src/client.cpp')
-rw-r--r--src/client.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/client.cpp b/src/client.cpp
index 96d21c96c..95dc472f4 100644
--- a/src/client.cpp
+++ b/src/client.cpp
@@ -566,6 +566,11 @@ Client::~Client()
NPCDB::unload();
StatusEffect::unload();
+ delete mumbleManager;
+ mumbleManager = 0;
+
+ PlayerInfo::deinit();
+
// Before config.write() since it writes the shortcuts to the config
for (int f = 0; f < SHORTCUT_TABS; f ++)
{