I'm having a baffling leak. LEAKS tells me that the line indicated below is leaking.
I'm paraphrasing, but faithfully. It pulls an NSDictionary from a file, then sends it off to another process.
As far as I know, the memory for all of these objects should be managed by the OS.
I don't know how LEAKS works, but I'm guessing it's marking the point where the OS wants to release "statusdict" but can't because there's something unlereased within it. But there's nothing in it that wasn't acquired by the process shown here.
NSDictionary *statusdict = [self readStatus];
[self runProcess:[statusdict objectForKey:@"objectname"]]; <- it leaks here
-(NSDictionary*) readStatus {
NSString *docPath = [NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES) objectAtIndex:0];
NSString *status = [[docPath stringByAppendingPathComponent:@"status.plist"] retain];
cstat = [NSDictionary dictionaryWithContentsOfFile:status];
[status release];
return (cstat);
}