On https://github.com/kuno/GeoIP/blob/master/src/org.cc at line 74 Why having static Nan::Utf8String *host_cstr = new Nan::Utf8String(info[0]); Instead of Nan::Utf8String host_cstr(info[0]); Thank you