Boost logo

Boost Users :

Subject: Re: [Boost-users] [serialization] Memory leaks even with shared_ptrs
From: cc caprani (cc.caprani_at_[hidden])
Date: 2011-07-22 12:31:11


On Fri, Jul 22, 2011 at 9:02 AM, Hazrat Pradipta Ranjali
<mrdipta_at_[hidden]>wrote:

>
> when you create a Base class, make sure that the destructor is to be
> declared as virtual.
>

Thank you! It worked a treat. Scott V (supremegalacticoverlord) also emailed
me this solution. I clearly have some reading to do :)



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