NSMutableArray initWithCapacity method description and memory management <p>It's about the instance method of NSMutableArray "initWithCapacity".</p> <p>From documentation, the Return Value is described as:</p> <blockquote> <pre><code>Return Value An array initialized with enough memory to hold numItems objects. The returned object might be different than the original receiver. </code></pre> </blockquote> <p>There seems to be a typo at "different than", my guess is it should be "different from". And also if the returned object is indeed different from the original, do we have to worry about releasing the memory associated with the original object ?</p> <p>Hope that somebody knowledgable on this can help ...</p> <p><a href="http://developer.apple.com/library/mac/#documentation/cocoa/reference/foundation/Classes/NSMutableArray_Class/Reference/Reference.html#//apple_ref/occ/cl/NSMutableArray" rel="nofollow">http://developer.apple.com/library/mac/#documentation/cocoa/reference/foundation/Classes/NSMutableArray_Class/Reference/Reference.html#//apple_ref/occ/cl/NSMutableArray</a></p>