Fixed memory leak
Merge pull request #16 from jeffh/master

Fixed memory leak