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/manaserv/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/manaserv/partyhandler.h')
-rw-r--r-- | src/net/manaserv/partyhandler.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/net/manaserv/partyhandler.h b/src/net/manaserv/partyhandler.h index 7403d0e36..89924c962 100644 --- a/src/net/manaserv/partyhandler.h +++ b/src/net/manaserv/partyhandler.h @@ -76,7 +76,11 @@ public: PartyShare getShareItems() const { return PARTY_SHARE_NO; } - void setShareItems(PartyShare share A_UNUSED) {} + void setShareItems(PartyShare share A_UNUSED) + { } + + void clear(); + private: Party *mParty; }; |