|
From: Ignacy G. <sf...@qu...> - 2008-09-04 20:37:44
|
On Thu, Sep 04, 2008 at 08:55:36PM +0200, thus spake P. Durante: > On Thu, Sep 4, 2008 at 8:08 PM, Ignacy Gawedzki <sf...@qu...> wrote: > > Uuuh, if you mean evidence for Connection::Private instances not being freed, > > yes. They are new'd in Connection::Connection(const char*, bool) but I see no > > corresponding delete anywhere in the sources. > > > since the private data is in a reference counted smart pointer > (Connection::_pvt), delete is called automatically when the last > Connection referring to that Private data is deallocated You know that's funny, because I was about to suggest the use of a smart pointer, to do just that. I've totally overlooked that it was already a smart pointer. =) Sorry for the bother then, my bad. -- To err is human, to purr feline. |