Re: Stumped on memory problem :(
Re: Stumped on memory problem :(
- Subject: Re: Stumped on memory problem :(
- From: "Kyle Sluder" <email@hidden>
- Date: Tue, 6 Jan 2009 02:32:06 -0500
On Thu, Jan 1, 2009 at 8:14 PM, Jacob Rhoden <email@hidden> wrote:
> NSMutableArray *array = [[NSMutableArray array] init];
-array returns an autoreleased object. You meant to do
[[NSMutableArray alloc] init].
--Kyle Sluder
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden