On Apr 4, 2008, at 5:44 PM, Torsten Curdt wrote:

- (void)setFilter:(NSPredicate*)newFilter
{
        if (filter != newFilter) {
                [filter release];
                filter = newFilter;
        }
}

- (NSPredicate*)filter
{
        return filter;
}

Is this the exact code you are using in your application? Your - setFilter: has a memory management bug... review the object ownership rules.

Jim

_______________________________________________

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

Reply via email to