diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-07-09 16:27:31 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-07-09 16:27:31 +0300 |
commit | c06debb4683c784f35093af8fc08ca142a58f5de (patch) | |
tree | 8073c846715379d7ee388b88a0cac33e6512df42 /src/client.cpp | |
parent | c8a5af485ef256446c761409c9947a6ca521bc25 (diff) | |
download | manaplus-c06debb4683c784f35093af8fc08ca142a58f5de.tar.gz manaplus-c06debb4683c784f35093af8fc08ca142a58f5de.tar.bz2 manaplus-c06debb4683c784f35093af8fc08ca142a58f5de.tar.xz manaplus-c06debb4683c784f35093af8fc08ca142a58f5de.zip |
Fix for party memory leak and crash.
Diffstat (limited to 'src/client.cpp')
-rw-r--r-- | src/client.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/client.cpp b/src/client.cpp index fec408a2f..78688fa03 100644 --- a/src/client.cpp +++ b/src/client.cpp @@ -76,6 +76,7 @@ #include "net/net.h" #include "net/npchandler.h" #include "net/packetcounters.h" +#include "net/partyhandler.h" #include "net/worldinfo.h" #include "resources/beinginfo.h" @@ -850,6 +851,7 @@ int Client::exec() resman->cleanOrphans(); Party::clearParties(); Net::getNpcHandler()->clearDialogs(); + Net::getPartyHandler()->clear(); } mOldState = mState; |