[Boost-bugs] [Boost C++ Libraries] #7350: allocator_destructor does not destroy object

Subject: [Boost-bugs] [Boost C++ Libraries] #7350: allocator_destructor does not destroy object
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-09-09 11:04:39


#7350: allocator_destructor does not destroy object
------------------------------+---------------------------------------------
 Reporter: olli | Owner: viboes
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: thread
  Version: Boost 1.52.0 | Severity: Problem
 Keywords: |
------------------------------+---------------------------------------------
 allocator_destructor<>::operator(pointer p) does only call
 container::allocator_traits<>::deallocate() which does only free the
 storage.

 Solution: call container::allocator_traits<>::destroy() before
 container::allocator_traits<>::deallocate().

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/7350>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:10 UTC