fixed typo in the doc
Fixed memory leak and bumped version