src/geo_functions.c
// close gets called by varnish when then the treads destroyed
close gets called by varnish when then the treads destroyed
close gets called by varnish when then the treads destroyed
void close_mmdb(void *db) 
{
    if (mmdb_baddb)
        return;
    MMDB_s *handle = (MMDB_s *)db;
    MMDB_close(handle);
}
void close_mmdb ( void * db ) { if ( mmdb_baddb ) return ; MMDB_s * handle = ( MMDB_s * ) db ; MMDB_close ( handle ) ; }
close gets called by varnish when then the treads destroyed
close gets called by varnish when then the treads destroyed
// don't do anything if the db didn't open correctly.