Skip to content
  • Michał Kępień's avatar
    Fix GeoIP2 memory leak upon reconfiguration · 670afbe8
    Michał Kępień authored
    Loaded GeoIP2 databases are only released when named is shut down, but
    not during server reconfiguration.  This causes memory to be leaked
    every time "rndc reconfig" or "rndc reload" is used, as long as any
    GeoIP2 database is in use.  Fix by releasing any loaded GeoIP2 databases
    before reloading them.  Do not call dns_geoip_shutdown() until server
    shutdown as that function releases the memory context used for caching
    GeoIP2 lookup results.
    670afbe8