Subject: [Boost-bugs] [Boost C++ Libraries] #3870: memory leak when deserialising a map containing shared_ptrs
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2010-01-28 10:55:37
#3870: memory leak when deserialising a map containing shared_ptrs
-------------------------------------------------+--------------------------
Reporter: Richard Bradley <ricbrad@â¦> | Owner: ramey
Type: Bugs | Status: new
Milestone: Boost 1.42.0 | Component: serialization
Version: Boost 1.41.0 | Severity: Problem
Keywords: memory leak shared_ptr map |
-------------------------------------------------+--------------------------
I'm finding that Boost.Serialization is leaking memory when deserialising
std::map<std::string,boost::shared_ptr<X>>
I'll attach a short unit test demonstrating this, and the stack trace I
get by breaking on the non-free'd memory allocation,using "--
detect_memory_leak=800"
I'm using MSCRT, Visual Studio 2008, and boost 1.41.0
I first reported this to the mailing list here:
http://lists.boost.org/Archives/boost/2010/01/161190.php
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/3870> 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