reverse r13248-r13250, since ARC doesn't support 32-bit.

This commit is contained in:
Mitchell Livingston
2012-03-13 02:52:11 +00:00
parent 21075ebd5d
commit 2406572104
71 changed files with 737 additions and 311 deletions

View File

@@ -68,13 +68,16 @@
{
[[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 = torrents;
[fTorrents release];
fTorrents = [torrents retain];
fSet = NO;
}
@@ -443,7 +446,8 @@
- (BOOL) control: (NSControl *) control textShouldBeginEditing: (NSText *) fieldEditor
{
fInitialString = [control stringValue];
[fInitialString release];
fInitialString = [[control stringValue] retain];
return YES;
}
@@ -454,6 +458,7 @@
if (fInitialString)
{
[control setStringValue: fInitialString];
[fInitialString release];
fInitialString = nil;
}
return NO;