From c06debb4683c784f35093af8fc08ca142a58f5de Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 9 Jul 2011 16:27:31 +0300 Subject: Fix for party memory leak and crash. --- src/net/tmwa/partyhandler.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/net/tmwa/partyhandler.h') 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; }; -- cgit v1.2.3-70-g09d2