Fix memory leak. Closes #2.
Increase version