Subject: Re: [Boost-bugs] [Boost C++ Libraries] #9062: boost deserialization memory leak
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-10-01 12:38:14
#9062: boost deserialization memory leak
-------------------------------+---------------------------
Reporter: ylzhang@⦠| Owner: ramey
Type: Bugs | Status: closed
Milestone: To Be Determined | Component: serialization
Version: Boost 1.41.0 | Severity: Problem
Resolution: invalid | Keywords:
-------------------------------+---------------------------
Changes (by ramey):
* status: new => closed
* resolution: => invalid
Comment:
I can't do anything with this without a more complete test case.
In this example, if bidObj is a pointer type - there definitely will be a
memory leak - but this would be an application error rather than an issue
with the library itself. Basically if one deserializes a pointer type
object, the library uses new to create a new object and it is the
responsability of the application to see that it is deleted. Note that
the demo.cpp has this issue. I left it in there because I didn't want to
make the demo more complex than necessary.
RObert Ramey
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/9062#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:14 UTC