At least one leak is here:
>        NSString *rMD5 = [[[[NSString alloc] initWithData:.....];

You just put new string object to rMD5 and now need to release it.

>        ...
>        rMD5 = [self replace:@"\n" with:@"" source:rMD5];

You just created another string object that you don't need to release,
and replace pointer to the first string with the new string

>        ...
>        return [rMD5 autorelease];

And here you asked for autorelease of the object that you don't need to release.
_______________________________________________

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