On Jan 2, 2010, at 11:44 AM, Charles Jenkins wrote:

>  NSArray* pnl = [NSArray arrayWithObjects:pa,pb,pc,pd,nil];
>  [parentDocument setPlayerNameList:pnl];
>  [pnl release];

KABOOM.

You are over-releasing pnl. The release call is unnecessary because the array 
was not alloc/init'd, made by copy, or had retain called on it within this 
method.

--
Seth Willits



_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to