[ShareKit] Fixed a memory leak.

Fixed a memory leak for you.