summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ios/experimental/Viewer/Viewer/LOViewerAppDelegate.mm6
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