[cfe-commits] [libcxx] r157476 - /libcxx/trunk/include/future
Howard Hinnant
hhinnant at apple.com
Fri May 25 08:55:47 PDT 2012
Author: hhinnant
Date: Fri May 25 10:55:46 2012
New Revision: 157476
URL: http://llvm.org/viewvc/llvm-project?rev=157476&view=rev
Log:
Fix memory corruption bug found and fixed by Andrew C. Morrow.
Modified:
libcxx/trunk/include/future
Modified: libcxx/trunk/include/future
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/include/future?rev=157476&r1=157475&r2=157476&view=diff
==============================================================================
--- libcxx/trunk/include/future (original)
+++ libcxx/trunk/include/future Fri May 25 10:55:46 2012
@@ -755,7 +755,6 @@
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);
More information about the cfe-commits
mailing list