From f74bbb4c357058a727ebc9ea1313c65c3480a389 Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Sun, 17 Mar 2013 01:01:05 +0200 Subject: Use autorelease block Change-Id: I7c3c8fcc81297ca97474b2b9482d40b47688febd --- ios/experimental/Viewer/Viewer/LOViewerAppDelegate.mm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'ios/experimental') 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 -- cgit