diff options
author | Peter Powell <petpow@saberuk.com> | 2018-08-12 13:29:09 +0100 |
---|---|---|
committer | Peter Powell <petpow@saberuk.com> | 2018-08-12 13:29:09 +0100 |
commit | f8a9b6ba4ae0b4b3c7b2a408332230dd82eb4608 (patch) | |
tree | 775ba30c21683d6b72bfe5c25ce96a213a34da42 /src/coremods | |
parent | 02838a09396a3626b61263791570e96324563fa0 (diff) |
Pass the Extensible container to ExtensionItem::free().
Diffstat (limited to 'src/coremods')
-rw-r--r-- | src/coremods/core_channel/invite.h | 4 |
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(); ) |