开发者

Memory Leak in Foundation's Library NSCFString

I'm working on a project that requires extreme care with memory. I ran the simulation on instruments and it shows the next leak:

Leaked Object: NSCFString

Size: 80 Bytes

Responsible Library: Foundatio开发者_JAVA技巧n

Responsible Frame: NSPlaceHolderString

I've searched all over my code and I'm not explicitly creating a NSCFString.

Thanks in advance.


NSCFString is the internal subclass that's used for most NSStrings. You're leaking an NSString. It might not even be something you created — you might be retaining a string and not releasing it later.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜