简体   繁体   English

如何解决xcode中的这些内存泄漏?

[英]How can I solve these memory leak in xcode?

I checked my application's memory leaking problem and these memory leaks are found. 我检查了应用程序的内存泄漏问题,发现了这些内存泄漏。 How can I solve these memory leak? 我该如何解决这些内存泄漏?

I used Leaks tool in Instruments . 我在Instruments使用了Leaks工具。 Here are the screenshots 这是屏幕截图

Screenshot 1 屏幕截图1

Screenshot 2 屏幕截图2

Switch to the Call Tree, select the options indicated in screenshot, then double click the code line. 切换到“调用树”,选择屏幕快照中指示的选项,然后双击代码行。

在此处输入图片说明

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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