summaryrefslogtreecommitdiffstats
path: root/macosx/HBUtilities.m
diff options
context:
space:
mode:
authorritsuka <[email protected]>2015-03-17 13:56:21 +0000
committerritsuka <[email protected]>2015-03-17 13:56:21 +0000
commit48a9e546878ae074202e0301f428193b7915d68f (patch)
treecf3f0f270fc8c7430dec870e954c826926c02a60 /macosx/HBUtilities.m
parent220bd888e05696acbe1dd47f96ded78c389fc27f (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/HBUtilities.m')
-rw-r--r--macosx/HBUtilities.m4
1 files changed, 2 insertions, 2 deletions
diff --git a/macosx/HBUtilities.m b/macosx/HBUtilities.m
index 3e4fdb272..cf57feb35 100644
--- a/macosx/HBUtilities.m
+++ b/macosx/HBUtilities.m
@@ -54,7 +54,7 @@
bitrate:(int)bitrate
videoCodec:(uint32_t)codec
{
- NSMutableString *name = [[[NSMutableString alloc] init] autorelease];
+ NSMutableString *name = [[NSMutableString alloc] init];
// The format array contains the tokens as NSString
NSArray *format = [[NSUserDefaults standardUserDefaults] objectForKey:@"HBAutoNamingFormat"];
@@ -132,7 +132,7 @@
}
}
- return [[name copy] autorelease];
+ return [name copy];
}