Fixed #5 - set a flag incorrectly, which caused double freeing of a value which Python owns
v1.0.12