I have a following code:
NSLog(@\"%d\", [chart retainCount]); self.chart = [[BNPieChart alloc] initWithFrame:self.view.frame]; NSLog(@\"%d\", [chart retainC
How do you know that the retainCount should be 1? Are you the author of the -setChart: method you are calling? How is it implemented? Why didn't you include it in the post?
Nothing you have posted here is suspicious.