开发者

Memory leak with NSNumber

Insruments swho to me a leak in my NSNumber. Do you see any leak in my code please ? thanks

NSNumber *valu开发者_开发知识库e = [NSNumber numberWithFloat:aFloat];
[dictionary setValue:value forKey:@"aKey"];


Unless you never release dictionary there is no memory leak there. Instruments isn't always correct when it comes to detecting leaks.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜