kuno/GeoIP — pull request #45 by sajal (2012-11-10 21:29:30+00:00)
Title: Fix memory leaks in Region

I'm a c++ beginner and was playing with Maxmind's C api when i reliazed this module's memory leak is due to not deleting the result from maxmind... Now the memory leak seems to have gone away.

Tested with :-

```
var regiondb = new geoipmodule.Region('/tmp/GeoIPRegion.dat')
var foo;
var st = new Date();for(i=0;i<10000000;i++) { foo = regiondb.lookupSync("107.20.181.99") };console.log(new Date() - st)
```