FROM : Bill Bumgarner
DATE : Sun Jan 06 20:20:34 2008
On Jan 6, 2008, at 11:05 AM, Bill Bumgarner wrote:
> At the least, that should be...
>
> return [array autorelease];
Geez. I have been doing so much GC that even one cup of coffee no
longer prevents such stupidity.
That should, of course, be:
return [[array retain] autorelease];
Doh!
b.bum
DATE : Sun Jan 06 20:20:34 2008
On Jan 6, 2008, at 11:05 AM, Bill Bumgarner wrote:
> At the least, that should be...
>
> return [array autorelease];
Geez. I have been doing so much GC that even one cup of coffee no
longer prevents such stupidity.
That should, of course, be:
return [[array retain] autorelease];
Doh!
b.bum






Cocoa mail archive

