Re: [Boost-bugs] [Boost C++ Libraries] #8283: list_new/list_push_back missing object_copy

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #8283: list_new/list_push_back missing object_copy
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-03-12 16:19:15


#8283: list_new/list_push_back missing object_copy
-----------------------------------------------+----------------------------
  Reporter: Kohei Takahashi <flast@…> | Owner: vladimir_prus
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: build
   Version: Boost Release Branch | Severity: Problem
Resolution: | Keywords:
-----------------------------------------------+----------------------------

Comment (by steven_watanabe):

 These functions are not supposed to make copies. They take ownership of
 their arguments. Your patch will result in a memory leak with
 BJAM_NO_MEM_CACHE. The correct fix is to track down the caller that isn't
 making a copy.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/8283#comment:1>
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:12 UTC