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/net/tmwa/partyhandler.h | |
parent | c8a5af485ef256446c761409c9947a6ca521bc25 (diff) | |
download | plus-c06debb4683c784f35093af8fc08ca142a58f5de.tar.gz plus-c06debb4683c784f35093af8fc08ca142a58f5de.tar.bz2 plus-c06debb4683c784f35093af8fc08ca142a58f5de.tar.xz plus-c06debb4683c784f35093af8fc08ca142a58f5de.zip |
Fix for party memory leak and crash.
Diffstat (limited to 'src/net/tmwa/partyhandler.h')
-rw-r--r-- | src/net/tmwa/partyhandler.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/net/tmwa/partyhandler.h b/src/net/tmwa/partyhandler.h index 207bc5f26..d2b204a55 100644 --- a/src/net/tmwa/partyhandler.h +++ b/src/net/tmwa/partyhandler.h @@ -78,6 +78,8 @@ class PartyHandler : public MessageHandler, public Net::PartyHandler void reload(); + void clear(); + private: PartyShare mShareExp, mShareItems; }; |