diff options
Diffstat (limited to 'src/base.cpp')
-rw-r--r-- | src/base.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/base.cpp b/src/base.cpp index db8d9f3cf..211dc2015 100644 --- a/src/base.cpp +++ b/src/base.cpp @@ -187,12 +187,17 @@ Extensible::Extensible() CullResult Extensible::cull() { + FreeAllExtItems(); + return classbase::cull(); +} + +void Extensible::FreeAllExtItems() +{ for(ExtensibleStore::iterator i = extensions.begin(); i != extensions.end(); ++i) { i->first->free(i->second); } extensions.clear(); - return classbase::cull(); } Extensible::~Extensible() |