From: Howard Hinnant Date: Fri, 25 May 2012 15:55:46 +0000 (+0000) Subject: Fix memory corruption bug found and fixed by Andrew C. Morrow. X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a960edd203a4a6890338e5f934984f5136b7e61f;p=platform%2Fupstream%2Fllvm.git Fix memory corruption bug found and fixed by Andrew C. Morrow. llvm-svn: 157476 --- 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);