Bump version, and fix memory leak