instruments reports libsystem_c leak

好久不见. 提交于 2019-12-25 05:03:47

问题


I have a very strange, very repeatable leak that doesn't appear to have anything to do with the functions I have defined. As you can see the responsible library is lybsystem_c.

Instruments reports a 48B leak when I scroll my grouped table view down below the screen (by dragging very fast). It bounces back, and the red bar appears.

Has anyone experienced this issue?
Does anyone understand how I might be responsible for this? Is there a way to prove this is a framework bug? Or an Instruments bug?

Thanks.


回答1:


What you are seeing is a known bug in iOS 5.1 and is being discussed in the iOS Developer Forums as such. You can find the relevant thread by searching in the forums for "strdup". See the thread titled "Elements App Memory Leak". Search for the post from an Apple employee.

Reference from Here



来源:https://stackoverflow.com/questions/11061339/instruments-reports-libsystem-c-leak

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!