From a0b5f5fee9809670c2c9cf9b1f63ab2be11fd9fd Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 24 May 2011 02:54:01 +0300 Subject: Fix leaks in client, skilldialog and playerinfo classes. --- src/client.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/client.cpp') 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 ++) { -- cgit v1.2.3-60-g2f50