diff options
-rw-r--r-- | libcxx/include/__hash_table | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libcxx/include/__hash_table b/libcxx/include/__hash_table index d469b0808d0..2bd9597768d 100644 --- a/libcxx/include/__hash_table +++ b/libcxx/include/__hash_table @@ -1726,6 +1726,7 @@ template <class _Tp, class _Hash, class _Equal, class _Alloc> typename __hash_table<_Tp, _Hash, _Equal, _Alloc>::__node_holder __hash_table<_Tp, _Hash, _Equal, _Alloc>::remove(const_iterator __p) _NOEXCEPT { + __node_traits::destroy(__node_alloc(), __p.operator->()); // current node __node_pointer __cn = const_cast<__node_pointer>(__p.__node_); size_type __bc = bucket_count(); |