Questions tagged «autorelease»

13
如何找到导致malloc“双重释放”错误的原因?
我正在使用Objective-C编写应用程序,但出现此错误: MyApp(2121,0xb0185000)malloc:***对象0x1068310的错误:double free ***在malloc_error_break中设置一个断点以进行调试 当我释放NSAutoreleasePool时,就发生了这种情况,但是我无法弄清楚我要两次释放哪个对象。 我如何设置他的断点? 有没有办法知道什么是“对象0x1068310”?
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.