Talk:Programming Mac OS X with Cocoa for Beginners/Objective C, the language and its advantages

In the previous version of drawRect, attribs was autoreleased, but in this it is just allocated and initialised. Wouldn't this cause a memory leakage?