Reputation: 19
Insruments swho to me a leak in my NSNumber. Do you see any leak in my code please ? thanks
NSNumber *value = [NSNumber numberWithFloat:aFloat];
[dictionary setValue:value forKey:@"aKey"];
Upvotes: 0
Views: 150
Reputation: 54796
Unless you never release dictionary
there is no memory leak there. Instruments isn't always correct when it comes to detecting leaks.
Upvotes: 1