Why does static NSString leak?

参看原帖:

http://stackoverflow.com/questions/6475727/why-does-static-nsstring-leak

报错信息:

objc[4501]: Object 0x6e17060 of class __NSCFString autoreleased with no pool in place - just leaking - break on objc_autoreleaseNoPool() to debug
objc[4501]: Object 0x6e12470 of class NSPathStore2 autoreleased with no pool in place - just leaking - break on objc_autoreleaseNoPool() to debug
objc[4501]: Object 0x6e12580 of class __NSCFData autoreleased with no pool in place - just leaking - break on objc_autoreleaseNoPool() to debug

posted on 2012-09-18 10:35  yang3wei  阅读(169)  评论(0编辑  收藏  举报