ShareKit/ShareKit — pull request #50 by VilemKurz (2011-10-10 13:28:48+00:00)
Title: Fixed some memory leaks & singletons

I was quite shocked, when I noticed that there are so many memory leaks, considering how many people use ShareKit. Some were spotted directly by static analyzer, some by instruments (allocations). Some singletons are now properly constructed. Some changes are only possible leaks (not real leaks) spotted by static analyzer, but I decided to clean the code a little to get rid the static analyzer warnings.

As I use Facebook and Twitter only, I suggest some of you who use other sharers check them thoroughly with instruments for memory leaks.

I suggest to put his fix to 2.0 release, as these leaks did like 20-40 kb of wasted memory per share action! Quite bad bug I think.