I have been using JSONKit in my app, but now that I have upgraded to Xcode 4.5.1 and run the analyze, Xcode is reporting possible memory leaks in JSONKit code.
/Users/aleksa.topic/SVN/Apple/iTTChart/trunk/iTTChart/Other Sources/JSONKit.m:682:23: Memory is never released; potential leak of memory pointed to by 'array'
(and the it gives the same potential leak for dictionary).
Does anyone have some experience with this? Is it really creating memory leaks or is it just that Xcode is't analyzing good enough?
This is a false positive in the static analyzer. There's a bug report trying to resolve it.