summaryrefslogtreecommitdiff
path: root/src/net/ea/inventoryhandler.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-07-03 20:00:46 +0300
committerAndrei Karas <akaras@inbox.ru>2013-07-03 20:00:46 +0300
commita1bd0179b28fa93c771bc5602f64746878f0ffad (patch)
treeff696a9b98c32441b06ffabf2a8ca7312590c8e3 /src/net/ea/inventoryhandler.h
parent41953ac4902ca11bb07b0aab53e811ca68ce4f64 (diff)
downloadmanaverse-a1bd0179b28fa93c771bc5602f64746878f0ffad.tar.gz
manaverse-a1bd0179b28fa93c771bc5602f64746878f0ffad.tar.bz2
manaverse-a1bd0179b28fa93c771bc5602f64746878f0ffad.tar.xz
manaverse-a1bd0179b28fa93c771bc5602f64746878f0ffad.zip
fix some leaks on exit.
Diffstat (limited to 'src/net/ea/inventoryhandler.h')
-rw-r--r--src/net/ea/inventoryhandler.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/net/ea/inventoryhandler.h b/src/net/ea/inventoryhandler.h
index b398053e3..2497d9dd5 100644
--- a/src/net/ea/inventoryhandler.h
+++ b/src/net/ea/inventoryhandler.h
@@ -149,6 +149,8 @@ class InventoryHandler : public Net::InventoryHandler
~InventoryHandler();
+ void clear();
+
bool canSplit(const Item *const item) const override A_WARN_UNUSED;
void splitItem(const Item *const item,