Module: kamailio
Branch: master
Commit: e10302033e42f25cf88b975fe9926d9210028299
URL:
https://github.com/kamailio/kamailio/commit/e10302033e42f25cf88b975fe9926d9…
Author: Federico Cabiddu <federico.cabiddu(a)gmail.com>
Committer: Federico Cabiddu <federico.cabiddu(a)gmail.com>
Date: 2024-11-20T14:19:11+01:00
geoip2: add fixup_free to exported funrcions
---
Modified: src/modules/geoip2/geoip2_mod.c
---
Diff:
https://github.com/kamailio/kamailio/commit/e10302033e42f25cf88b975fe9926d9…
Patch:
https://github.com/kamailio/kamailio/commit/e10302033e42f25cf88b975fe9926d9…
---
diff --git a/src/modules/geoip2/geoip2_mod.c b/src/modules/geoip2/geoip2_mod.c
index cfb40f69860..2a9329d3cef 100644
--- a/src/modules/geoip2/geoip2_mod.c
+++ b/src/modules/geoip2/geoip2_mod.c
@@ -63,7 +63,7 @@ static pv_export_t mod_pvs[] = {
static cmd_export_t cmds[] = {
{"geoip2_match", (cmd_function)w_geoip2_match, 2,
- fixup_spve_spve, 0, ANY_ROUTE},
+ fixup_spve_spve, fixup_free_spve_spve, ANY_ROUTE},
{"geoip2_distance", (cmd_function)w_geoip2_distance, 3,
fixup_spve_all, fixup_free_spve_all, ANY_ROUTE},
{0, 0, 0, 0, 0, 0}