Re: [Boost-bugs] [Boost C++ Libraries] #4031: vectorstream causes a memory leak at construction

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #4031: vectorstream causes a memory leak at construction
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2010-03-22 15:41:37


#4031: vectorstream causes a memory leak at construction
------------------------------------------------------------+---------------
 Reporter: Mark Domschot <mark.domschot@…> | Owner: igaztanaga
     Type: Bugs | Status: new
Milestone: Boost 1.43.0 | Component: interprocess
  Version: Boost 1.42.0 | Severity: Problem
 Keywords: vectorstream, memory leak, init |
------------------------------------------------------------+---------------

Comment(by Mark Domschot <mark.domschot@…>):

 Hi again,

 My explanation of the issue is not entirely correct (sorry, I am rather
 unfamiliar with the source code of boost). It would be more accurate to
 say:
 When a vectorstream is constructed, it specifically calls
 'basic_ios_t::init()' on 'm_buf' after it calls its base constructor
 constructor (which calls init()).

 - Mark

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/4031#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:02 UTC