[Interest] QList operator[]

Thiago Macieira thiago.macieira at intel.com
Sat Jan 10 19:56:21 CET 2015


On Saturday 10 January 2015 12:19:26 K. Frank wrote:
> > Seems odd behaviour to
> > get from a couple of lines of code like that.  Would never have expected
> > that to be a memory leak!
> 
> I agree that something odd is going on here.  I understand why you
> got a deep copy that you didn't anticipate, but I don't see why that
> would lead to a memory leak.
> 
> I'm hoping that the experts can shed some more light on this issue.

There is no leak.
-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center




More information about the Interest mailing list