|
Boost Users : |
Subject: Re: [Boost-users] [Serialization] Does it leak memory when applied toshared_ptr?
From: Robert Ramey (ramey_at_[hidden])
Date: 2009-12-03 13:45:29
"Peng.Huang" <huangpeng1126_at_[hidden]> wrote in message
news:049a01ca73fd$4659f0a0$d30dd1e0$@com...
When used for serialize the shared pointer, memory leak occurs.
I am not sure that is due to the internal bug or the wrong use of
serialization library.
The following is test code:
Your usage of all the libraries is correct.
A little time convinces me that this is indeed a bug in the library -
specifically the implentation of serialization for shared_ptr.
Unfortunately, this is not a trivial fix. So please create a track item for
this bug.
Robert Ramey
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net