See the screenshot below, this is the only leak the Leaks Instrument finds in my app. Seems odd that main is leaking since it's out-of-the-box. Is this common?
This usually indicates that the leak is occurring somewhere before the app delegate loads. Check any added resources like compiled libraries.
Drag this code source or your app delegate source into Instruments and it might show you the call stack so you can track it down.
See IPHONE: Analyzing leaks with instruments for an example of how to view source in Instruments.
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.