【发布时间】:2009-10-13 07:26:21
【问题描述】:
我在 iphone 2.0 中使用这行代码,它工作正常
pool=[[NSAutoreleasePool alloc]init];
[pool release];
当我在 iphone 3.0 中运行这行代码时,它会在日志屏幕中显示一些泄漏消息。 那条消息是
2009-10-13 03:26:31.841 Spectrum[3946:4c2b] *** _NSAutoreleaseNoPool(): Object 0xd819d0 of class NSCFString autoreleased with no pool in place - just leaking
Stack: (0x305a2e6f 0x30504682 0x52c14d 0x536f67 0x3058deff 0xb049 0xa554 0x3050a79d 0x3050a338 0x97181155 0x97181012)
谁能帮帮我?
提前谢谢....
【问题讨论】: