Boost logo

Boost Users :

Subject: Re: [Boost-users] [boost::shared_ptr] Memory is not freed
From: liam mail (liam.list_at_[hidden])
Date: 2011-03-27 19:05:54


On 27 March 2011 23:57, Panagiotis Foteinos <pafotein_at_[hidden]> wrote:

> Hello users.
> Could you think of any scenarios that would cause the observed behaviour?
>
> Any ideas would be welcome.
>
> OS: Ubuntu 64
> Compiler: gcc version 4.4.3
>
> Best Regards,
> Panagiotis Foteinos
>
>
Sounds like cyclic references[1] for which you may need to use weak_ptr 's.
[1]http://www.codeproject.com/KB/stl/boostsmartptr.aspx#Cyclic%20References



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