Modify

Opened 5 years ago

Closed 5 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().

Attachments (0)

Change History (2)

comment:1 Changed 5 years ago by viboes

Milestone: To Be DeterminedBoost 1.52.0
Status: newassigned
Version: Boost 1.52.0Boost 1.51.0

See patch attached to #7349.

Committed in trunk revision [80460].

comment:2 Changed 5 years ago by viboes

Resolution: fixed
Status: assignedclosed

Committed revision 80516.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain viboes.
The resolution will be deleted.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.