diff options
author | ritsuka <[email protected]> | 2015-03-17 13:56:21 +0000 |
---|---|---|
committer | ritsuka <[email protected]> | 2015-03-17 13:56:21 +0000 |
commit | 48a9e546878ae074202e0301f428193b7915d68f (patch) | |
tree | cf3f0f270fc8c7430dec870e954c826926c02a60 /macosx/HBSubtitlesDefaults.m | |
parent | 220bd888e05696acbe1dd47f96ded78c389fc27f (diff) |
MacGui: convert the mac gui to Objective-C ARC.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6996 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'macosx/HBSubtitlesDefaults.m')
-rw-r--r-- | macosx/HBSubtitlesDefaults.m | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/macosx/HBSubtitlesDefaults.m b/macosx/HBSubtitlesDefaults.m index ef31e0726..e634ecda9 100644 --- a/macosx/HBSubtitlesDefaults.m +++ b/macosx/HBSubtitlesDefaults.m @@ -76,7 +76,7 @@ preset[@"SubtitleTrackSelectionBehavior"] = @"none"; } - preset[@"SubtitleLanguageList"] = [[self.trackSelectionLanguages copy] autorelease]; + preset[@"SubtitleLanguageList"] = [self.trackSelectionLanguages copy]; preset[@"SubtitleAddCC"] = @(self.addCC); preset[@"SubtitleAddForeignAudioSearch"] = @(self.addForeignAudioSearch); preset[@"SubtitleAddForeignAudioSubtitle"] = @(self.addForeignAudioSubtitle); @@ -111,7 +111,6 @@ if (copy) { copy->_trackSelectionBehavior = _trackSelectionBehavior; - [copy->_trackSelectionLanguages release]; copy->_trackSelectionLanguages = [_trackSelectionLanguages mutableCopy]; copy->_addForeignAudioSearch = _addForeignAudioSearch; @@ -162,10 +161,5 @@ return self; } -- (void)dealloc -{ - [_trackSelectionLanguages release]; - [super dealloc]; -} @end |