Module: kamailio
Branch: master
Commit: 98f0a2c8b17bcf0f54a183589c2b61a8fd47081f
URL:
https://github.com/kamailio/kamailio/commit/98f0a2c8b17bcf0f54a183589c2b61a…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2024-11-21T18:58:16+01:00
permissions: disable destroy of internal hash tables on mod-destroy callback
- it is safer and faster to be removed at once by core or OS when application
context is destroyed
---
Modified: src/modules/permissions/permissions.c
---
Diff:
https://github.com/kamailio/kamailio/commit/98f0a2c8b17bcf0f54a183589c2b61a…
Patch:
https://github.com/kamailio/kamailio/commit/98f0a2c8b17bcf0f54a183589c2b61a…
---
diff --git a/src/modules/permissions/permissions.c
b/src/modules/permissions/permissions.c
index ae1a5bc76ec..96b2b85b4be 100644
--- a/src/modules/permissions/permissions.c
+++ b/src/modules/permissions/permissions.c
@@ -746,9 +746,11 @@ static void mod_exit(void)
pkg_free(perm_deny[i].filename);
}
+#if 0
clean_trusted();
clean_addresses();
+#endif
}