Fix a memory leak

Thanks to Vincent Pit for noticing.

Bump to 1.0.4