diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-05-24 02:54:01 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-05-24 02:54:01 +0300 |
commit | a0b5f5fee9809670c2c9cf9b1f63ab2be11fd9fd (patch) | |
tree | b666fed3ff9bdea61159190035d697ea562c4faa /src/client.cpp | |
parent | d2c42029b98c665725768b891aa877eb3267664f (diff) | |
download | mv-a0b5f5fee9809670c2c9cf9b1f63ab2be11fd9fd.tar.gz mv-a0b5f5fee9809670c2c9cf9b1f63ab2be11fd9fd.tar.bz2 mv-a0b5f5fee9809670c2c9cf9b1f63ab2be11fd9fd.tar.xz mv-a0b5f5fee9809670c2c9cf9b1f63ab2be11fd9fd.zip |
Fix leaks in client, skilldialog and playerinfo classes.
Diffstat (limited to 'src/client.cpp')
-rw-r--r-- | src/client.cpp | 5 |
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 ++) { |