我在 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)
谁能帮我?
提前致谢....