id,summary,reporter,owner,description,type,status,milestone,component,version,severity,resolution,keywords,cc 3107,Error in allocation/dealocation of timers,anonymous,chris_kohlhoff,"Function enqueue_timer from timer_queue.hpp allocate new timers with the following code: std::auto_ptr > new_timer( new timer(time, handler, token)); and later this timer will be deallocated with asio_handler_deallocate. Solution: replace ""new-based"" allocation with asio_handler_allocate: typedef timer timer_type; typedef handler_alloc_traits alloc_traits; raw_handler_ptr raw_ptr(handler); handler_ptr new_timer(raw_ptr, time, handler, token); ",Bugs,closed,Boost 1.40.0,asio,Boost 1.39.0,Problem,fixed,,