mirror of
https://github.com/transmission/transmission.git
synced 2026-05-02 22:52:37 +01:00
Transition to ARC
This commit is contained in:
@@ -42,12 +42,6 @@
|
||||
return self;
|
||||
}
|
||||
|
||||
- (void) dealloc
|
||||
{
|
||||
[fTorrents release];
|
||||
|
||||
[super dealloc];
|
||||
}
|
||||
|
||||
- (void) awakeFromNib
|
||||
{
|
||||
@@ -94,8 +88,7 @@
|
||||
- (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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user