@@ -294,16 +294,18 @@ #undef REGISTER_SIGNAL } - (void)run { - void *pool; + void *pool = objc_autoreleasePoolPush(); OFRunLoop *runLoop; [OFThread OF_createMainThread]; runLoop = [OFRunLoop currentRunLoop]; [OFRunLoop OF_setMainRunLoop]; + + objc_autoreleasePoolPop(pool); pool = objc_autoreleasePoolPush(); [delegate applicationDidFinishLaunching]; objc_autoreleasePoolPop(pool);