Fix memleak
Merge pull request #11 from maxmind/bz/fix-memleak

Fix memleak