don't leak memory
Merge pull request #51 from monsta/patch-1

don't leak memory