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);


_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to