Memory leak fixed.

Memory leak fixed.
Merge pull request #5 from th13f/patch-1

Memory leak fixed.