Opened 10 years ago
Closed 10 years ago
#7350 closed Bugs (fixed)
allocator_destructor does not destroy object
Reported by: | olli | Owned by: | viboes |
---|---|---|---|
Milestone: | Boost 1.52.0 | Component: | thread |
Version: | Boost 1.51.0 | Severity: | Problem |
Keywords: | Cc: |
Description
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().
Change History (2)
comment:1 by , 10 years ago
Milestone: | To Be Determined → Boost 1.52.0 |
---|---|
Status: | new → assigned |
Version: | Boost 1.52.0 → Boost 1.51.0 |
Note:
See TracTickets
for help on using tickets.
See patch attached to #7349.
Committed in trunk revision [80460].