diff options
author | Tor Lillqvist <tml@iki.fi> | 2013-03-17 01:01:05 +0200 |
---|---|---|
committer | Tor Lillqvist <tml@iki.fi> | 2013-03-18 07:41:33 +0200 |
commit | f74bbb4c357058a727ebc9ea1313c65c3480a389 (patch) | |
tree | 0496e6aa6187124898a29ed8355be30356f4b1bf /ios/experimental | |
parent | dc234a1da0e5e57472333b91899cc2628eac702d (diff) |
Use autorelease block
Change-Id: I7c3c8fcc81297ca97474b2b9482d40b47688febd
Diffstat (limited to 'ios/experimental')
-rw-r--r-- | ios/experimental/Viewer/Viewer/LOViewerAppDelegate.mm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ios/experimental/Viewer/Viewer/LOViewerAppDelegate.mm b/ios/experimental/Viewer/Viewer/LOViewerAppDelegate.mm index bb95e5e5afe4..cc1e8d2f3c17 100644 --- a/ios/experimental/Viewer/Viewer/LOViewerAppDelegate.mm +++ b/ios/experimental/Viewer/Viewer/LOViewerAppDelegate.mm @@ -40,11 +40,11 @@ { (void) argument; - NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init]; + @autoreleasepool { - lo_initialize(); + lo_initialize(); - [pool release]; + } } - (void)applicationWillResignActive:(UIApplication *)application |