Fixed memory links

Found using valgrind
Bumped to version 2.0.1