|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r50903 - trunk/boost/interprocess/smart_ptr/detail
From: igaztanaga_at_[hidden]
Date: 2009-01-30 10:23:43
Author: igaztanaga
Date: 2009-01-30 10:23:42 EST (Fri, 30 Jan 2009)
New Revision: 50903
URL: http://svn.boost.org/trac/boost/changeset/50903
Log:
Fixed deallocation before destructor.
Text files modified:
trunk/boost/interprocess/smart_ptr/detail/sp_counted_impl.hpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
Modified: trunk/boost/interprocess/smart_ptr/detail/sp_counted_impl.hpp
==============================================================================
--- trunk/boost/interprocess/smart_ptr/detail/sp_counted_impl.hpp (original)
+++ trunk/boost/interprocess/smart_ptr/detail/sp_counted_impl.hpp 2009-01-30 10:23:42 EST (Fri, 30 Jan 2009)
@@ -84,7 +84,7 @@
this_pointer this_ptr (this);
//Do it now!
scoped_ptr<this_type,
- scoped_ptr_dealloc_functor<this_allocator> >(this_ptr, a_copy);
+ scoped_ptr_dealloc_functor<this_allocator> > deallocator(this_ptr, a_copy);
typedef typename this_allocator::value_type value_type;
detail::get_pointer(this_ptr)->~value_type();
}
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk