And I've already noticed a memory management error in my own code;
-setServers: leaks the old array.  The first lines of the -setServers:
method should look like this:

-(void)setServers:(NSArray *)newServers
{
  NSArray *oldServers = servers;
  servers = [[newServers copy] retain];
  [oldServers release];

  // ... the rest of the method ...
}

--Kyle Sluder
_______________________________________________

Cocoa-dev mailing list ([email protected])

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 [EMAIL PROTECTED]

Reply via email to