Fix bug in RefCountedBase/RefCountedBaseVPTR where the reference count was accidental...
authorTed Kremenek <kremenek@apple.com>
Thu, 17 Nov 2011 23:02:14 +0000 (23:02 +0000)
committerTed Kremenek <kremenek@apple.com>
Thu, 17 Nov 2011 23:02:14 +0000 (23:02 +0000)
commitf24944953986ad1e0a78279e6c3288e15a7e2619
tree138d4abb026b4defbbaf3dca860eab754014e5de
parent944d82ba06bcb6bf92ca1fbcbdf1a882cd009363
Fix bug in RefCountedBase/RefCountedBaseVPTR where the reference count was accidentally copied as part of the copy constructor.  This could result in objects getting leaked because there reference count was too high.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@144931 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/ADT/IntrusiveRefCntPtr.h