Modify

Ticket #7350 (closed Bugs: fixed)

Opened 20 months ago

Last modified 19 months ago

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

Change History

comment:1 Changed 20 months ago by viboes

  • Status changed from new to assigned
  • Version changed from Boost 1.52.0 to Boost 1.51.0
  • Milestone changed from To Be Determined to Boost 1.52.0

See patch attached to #7349.

Committed in trunk revision [80460].

comment:2 Changed 19 months ago by viboes

  • Status changed from assigned to closed
  • Resolution set to fixed

Committed revision 80516.

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
The resolution will be deleted. Next status will be 'reopened'
Author


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

 
Note: See TracTickets for help on using tickets.