On Mon, Jan 26, 2009 at 9:40 AM, Nick Rogers <roger...@mac.com> wrote: > hi, > thanks for the reply. > someString in the method suggestedRepeat....... is an NSMutableString > allocated and initialized within that method.
How is it allocated? Please show that code. What about someDir? >- (NSString*)suggestedRepeatFileName:(NSString *)fileName inDir:(HDIR *)dir >{ > // some code here Please show the code. > - (void)setFileName:(NSString *)name > { > name = [name copy]; > [fileName release]; > fileName = name; > } Looks OK. Try using NSZombie since it sounds like you are over releasing something. -Shawn _______________________________________________ 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