Author: marshall
Date: Fri Jun 19 12:13:59 2015
New Revision: 240139

URL: http://llvm.org/viewvc/llvm-project?rev=240139&view=rev
Log:
Fix ASAN bot; missing bookkeeping in r240136.

Modified:
    libcxx/trunk/include/memory

Modified: libcxx/trunk/include/memory
URL: 
http://llvm.org/viewvc/llvm-project/libcxx/trunk/include/memory?rev=240139&r1=240138&r2=240139&view=diff
==============================================================================
--- libcxx/trunk/include/memory (original)
+++ libcxx/trunk/include/memory Fri Jun 19 12:13:59 2015
@@ -4076,6 +4076,7 @@ private:
             {
                 __e->__weak_this_.__ptr_ = const_cast<_Yp*>(static_cast<const 
_Yp*>(__e));
                 __e->__weak_this_.__cntrl_ = __cntrl_;
+                __cntrl_->__add_weak();
             }
         }
 



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

Reply via email to