#4822 Enable Automatic Reference Counting

This commit is contained in:
Mitchell Livingston
2012-03-10 03:38:58 +00:00
parent 302e33771a
commit 11f57ccb18
71 changed files with 259 additions and 675 deletions

View File

@@ -62,16 +62,13 @@
{
[[NSNotificationCenter defaultCenter] removeObserver: self];
[fTorrents release];
[super dealloc];
}
- (void) setInfoForTorrents: (NSArray *) torrents
{
//don't check if it's the same in case the metadata changed
[fTorrents release];
fTorrents = [torrents retain];
fTorrents = torrents;
fSet = NO;
}