0
#import <UIKit/UIKit.h>
int main(int argc, char *argv[]) {
NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init];
int retVal = UIApplicationMain(argc, argv, nil, nil);<-----This line gets highlighted as the leak
[pool release];
return retVal;
}
当我启动应用程序时,它会发生泄漏。需要帮助查找此代码中的泄漏请
你确定它是你的堆栈的顶部?它是标准的主要功能内容,它不能成为问题的来源 – Vladimir 2010-02-04 15:43:25