summaryrefslogtreecommitdiff
path: root/src/coremods/core_channel/invite.h
diff options
context:
space:
mode:
authorPeter Powell <petpow@saberuk.com>2018-08-12 13:29:09 +0100
committerPeter Powell <petpow@saberuk.com>2018-08-12 13:29:09 +0100
commitf8a9b6ba4ae0b4b3c7b2a408332230dd82eb4608 (patch)
tree775ba30c21683d6b72bfe5c25ce96a213a34da42 /src/coremods/core_channel/invite.h
parent02838a09396a3626b61263791570e96324563fa0 (diff)
Pass the Extensible container to ExtensionItem::free().
Diffstat (limited to 'src/coremods/core_channel/invite.h')
-rw-r--r--src/coremods/core_channel/invite.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/coremods/core_channel/invite.h b/src/coremods/core_channel/invite.h
index 2a99ec2df..19e3861f8 100644
--- a/src/coremods/core_channel/invite.h
+++ b/src/coremods/core_channel/invite.h
@@ -66,10 +66,10 @@ class Invite::ExtItem : public ExtensionItem
{
void* store = unset_raw(ext);
if (store)
- free(store);
+ free(ext, store);
}
- void free(void* item) CXX11_OVERRIDE
+ void free(Extensible* container, void* item) CXX11_OVERRIDE
{
Store<T>* store = static_cast<Store<T>*>(item);
for (typename Store<T>::List::iterator i = store->invites.begin(); i != store->invites.end(); )