简体   繁体   中英

After converting application to ARC, main method shows memory leak

I have converted my application to ARC. While seeking memory leaks using instruments main.m shows a huge memory leak at following :

@autoreleasepool {
        int retVal = UIApplicationMain(argc, argv, nil, nil);
        return retVal;
    }

How can i resolve this memory leak.

您没有分配第4个参数,它是应用程序委托类的名称,也许是有原因的。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM