[webkit-dev] Re: QWebNetworkManager triggering a memleak in Qt

Darin Adler darin at apple.com
Fri Jan 4 09:25:01 PST 2008


On Jan 4, 2008, at 1:40 AM, Simon Hausmann wrote:

> I don't believe that is a bug in Qt, I believe this leak is due to  
> the fact that the QWebNetworkManager instance (s_manager) is never  
> deleted, and as a result the connection is never broken up, so  
> valgrind correctly claims a leak :)

That doesn't sound right. If there was still a pointer to this from  
the QWebNetworkManager, then valgrind would not call it a leak, as I  
understand it. It's only considered "lost" if there are no pointers to  
it remaining.

     -- Darin



More information about the webkit-dev mailing list