Small threading memory leak fix.

CQTexperiment
matthewleon 2008-03-01 18:38:47 +00:00
parent 4168bb43eb
commit 8dee65b8b6
1 changed files with 8 additions and 0 deletions

View File

@ -291,6 +291,7 @@
[queue addOperation:readEntryInfoOperation];
oldReadEntryInfoOperation = [readEntryInfoOperation retain];
}
[oldReadEntryInfoOperation release];
return;
}
@ -339,6 +340,13 @@
// stop observing
[object removeObserver:self forKeyPath:keyPath];
}
else
{
[super observeValueForKeyPath:keyPath
ofObject:object
change:change
context:context];
}
}
- (void)addURLs:(NSArray *)urls sort:(BOOL)sort