[Adium-devl] Leak fix in JSON framework

Peter Hosey boredzo at adiumx.com
Sat Jun 28 19:15:56 UTC 2008


Yesterday, I found a leak in the -JSONValueWithOptions: and - 
JSONFragmentValueWithOptions: methods in the JSON framework. I found  
the problem, fixed it, and submitted a patch:

http://code.google.com/p/json-framework/issues/detail?id=6

The maintainer committed the fix in r316.

We should probably apply this change to our copy of the framework. We  
can do this easily by updating to r316 on the trunk; there have been  
no other code changes between the 2.0 tag (r310)* and my patch.

This bug affects Adium in every message received and when receiving  
the buddy list. I can easily see the leaked objects piling up over  
several days' usage.

*Note that the Info.plist in the 2.0 tag says 2.0a1. r314 corrected  
the version number to 2.0 on the trunk. r314 and r316 are the only two  
changes on trunk since r310.





More information about the devel mailing list