Module: kamailio
Branch: master
Commit: e066613cac308d1129baebc47d7c245b36eba4b0
URL:
https://github.com/kamailio/kamailio/commit/e066613cac308d1129baebc47d7c245…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2024-06-01T07:39:54+02:00
geoip2: do not close global MMDB_s on destroy
- GH #3861
---
Modified: src/modules/geoip2/geoip2_pv.c
---
Diff:
https://github.com/kamailio/kamailio/commit/e066613cac308d1129baebc47d7c245…
Patch:
https://github.com/kamailio/kamailio/commit/e066613cac308d1129baebc47d7c245…
---
diff --git a/src/modules/geoip2/geoip2_pv.c b/src/modules/geoip2/geoip2_pv.c
index d5b16351754..de017da1f65 100644
--- a/src/modules/geoip2/geoip2_pv.c
+++ b/src/modules/geoip2/geoip2_pv.c
@@ -564,7 +564,6 @@ void geoip2_destroy_list(void)
void geoip2_destroy_pv(void)
{
if(_handle_GeoIP != NULL) {
- MMDB_close(_handle_GeoIP);
shm_free(_handle_GeoIP);
_handle_GeoIP = NULL;
}