From a960edd203a4a6890338e5f934984f5136b7e61f Mon Sep 17 00:00:00 2001 From: Howard Hinnant Date: Fri, 25 May 2012 15:55:46 +0000 Subject: [PATCH] Fix memory corruption bug found and fixed by Andrew C. Morrow. llvm-svn: 157476 --- libcxx/include/future | 1 - 1 file changed, 1 deletion(-) diff --git a/libcxx/include/future b/libcxx/include/future index aae707e..f3e36cb 100644 --- a/libcxx/include/future +++ b/libcxx/include/future @@ -755,7 +755,6 @@ template void __assoc_sub_state_alloc<_Alloc>::__on_zero_shared() _NOEXCEPT { - this->~base(); typename _Alloc::template rebind<__assoc_sub_state_alloc>::other __a(__alloc_); this->~__assoc_sub_state_alloc(); __a.deallocate(this, 1); -- 2.7.4