[ShareKit] Fixed a memory leak.
Merge pull request #770 from remind101/memory-leak-fix

[ShareKit] Fixed a memory leak.