Re: Simple dynamic array question
>The bold line can not possibly prevent the leakage.....
Well, OK, but that seems like splitting hairs. The storage for m_leak will be a leak (somewhere else in freestore), but the array elements themselves (fp) will not be a leak. Which is what I meant.
Re: Simple dynamic array question
Quote:
Originally Posted by penguinFan
Well, OK, but that seems like splitting hairs.
Yes, but then you were also splitting hairs by refusing to read into what Lindley implied ;)
Re: Simple dynamic array question
That's why I smiley'd it :-)
Re: Simple dynamic array question
Quote:
Originally Posted by
laserlight
Yes, but then you were also splitting hairs by refusing to read into what Lindley implied ;)
Splitting Hares is frowned upon...It can also get very messy. :eek:
Re: Simple dynamic array question
> Splitting Hares is frowned upon.
I get feral rabbits in my back yard. The neighbourhood cats are doing their best to open up their abstraction boundaries.
Re: Simple dynamic array question
Quote:
Originally Posted by
penguinFan
> Splitting Hares is frowned upon.
I get feral rabbits in my back yard. The neighbourhood cats are doing their best to open up their abstraction boundaries.
Living in the heart of the city...not too many Rabbits...but lots of "Rat Bits"... :sick: