问题描述
我只是使用实用程序应用程序模板创建一个项目.当我按下信息按钮"时,此模板存在本机内存泄漏翻转视图.
i'm only create an project with a Utility Application template.This template has a native memory leak when i push "info button" toflip the view.
有谁知道我该如何修复这个泄漏???我只是从这个模板中创建了一个新项目,我不添加新对象.
Anyone know how can i fix this leak ???I just make an new project from this template,i don't add new objects.
推荐答案
这可能是泄漏,也可能不是泄漏.如果您要添加分配的回溯,那会很有帮助.
That might be a leak or it might not be a leak. If you were to add the backtrace of the allocation, that would be helpful.
更有可能的是,这不是泄漏,而是 dyld 隐藏的一些簿记信息泄漏/仪器丢失了踪迹.
More likely than not, it isn't a leak, but some bookkeeping information that is being stashed away by dyld that leaks/Instruments loses track of.
鉴于它是 128 个字节,我猜只有其中一个,我鼓励您通过 http://bugreport.apple.com 然后暂时忘记它,因为在不太可能真的是泄漏的情况下,您将同样不可能从内部修复它申请.
Given that it is 128 bytes and I'm guessing there is only one of them, I would encourage you to file a bug via http://bugreport.apple.com and then forget about it for now as, in the unlikely case that it really is a leak, you will be equally as unlikely to be able to fix it from within your application.
这篇关于Iphone SDK Utility Application 模板泄露的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!