Fix memory leak
Bump version to 0.1.2