fix memory leak
Merge pull request #5 from billychasen/master

fix memory leak