diff options
Diffstat (limited to 'src/inc/shash.inl')
-rw-r--r-- | src/inc/shash.inl | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/inc/shash.inl b/src/inc/shash.inl index 76a5b8c9a6..c43e91f0ed 100644 --- a/src/inc/shash.inl +++ b/src/inc/shash.inl @@ -227,6 +227,14 @@ void SHash<TRAITS>::RemoveAll() } CONTRACT_END; + if (TRAITS::s_DestructPerEntryCleanupAction) + { + for (Iterator i = Begin(); i != End(); i++) + { + TRAITS::OnDestructPerEntryCleanupAction(*i); + } + } + delete [] m_table; m_table = NULL; |