If I release the dueDate here I am having BAD_EXCESS in other place of my code. What am I doing wrong here? invoice is a core date object/entity here.
NSDate *deliveryDate = [NSDate dateWithTimeIntervalSinceNow: - oneDayInSeconds * 7];
NSDate *dueDate = [[NSDate date] initWithTimeInterval:(NSTimeInterval) (oneDayInSeconds * 3) sinceDate:deliveryDate];
[invoice setDueDate:dueDate];
//[dueDate release];