Module: kamailio
Branch: master
Commit: c8bd10f791ef7aa48a16104472b039a8ca1a53c5
URL:
https://github.com/kamailio/kamailio/commit/c8bd10f791ef7aa48a16104472b039a…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2022-10-13T11:59:53+02:00
kex: added fixup free functions to module exports
---
Modified: src/modules/kex/kex_mod.c
---
Diff:
https://github.com/kamailio/kamailio/commit/c8bd10f791ef7aa48a16104472b039a…
Patch:
https://github.com/kamailio/kamailio/commit/c8bd10f791ef7aa48a16104472b039a…
---
diff --git a/src/modules/kex/kex_mod.c b/src/modules/kex/kex_mod.c
index 21c4161ac9c..e46e85b5cf4 100644
--- a/src/modules/kex/kex_mod.c
+++ b/src/modules/kex/kex_mod.c
@@ -71,23 +71,23 @@ static pv_export_t mod_pvs[] = {
static cmd_export_t cmds[]={
{"setsflag", (cmd_function)w_setsflag, 1,fixup_igp_null,
- 0, ANY_ROUTE },
+ fixup_free_igp_null, ANY_ROUTE },
{"resetsflag", (cmd_function)w_resetsflag, 1,fixup_igp_null,
- 0, ANY_ROUTE },
+ fixup_free_igp_null, ANY_ROUTE },
{"issflagset", (cmd_function)w_issflagset, 1,fixup_igp_null,
- 0, ANY_ROUTE },
+ fixup_free_igp_null, ANY_ROUTE },
{"setbflag", (cmd_function)w_setbflag, 1,fixup_igp_null,
- 0, ANY_ROUTE },
+ fixup_free_igp_null, ANY_ROUTE },
{"setbflag", (cmd_function)w_setbflag, 2,fixup_igp_igp,
- 0, ANY_ROUTE },
+ fixup_free_igp_igp, ANY_ROUTE },
{"resetbflag", (cmd_function)w_resetbflag, 1,fixup_igp_null,
- 0, ANY_ROUTE },
+ fixup_free_igp_null, ANY_ROUTE },
{"resetbflag", (cmd_function)w_resetbflag, 2,fixup_igp_igp,
- 0, ANY_ROUTE },
+ fixup_free_igp_igp, ANY_ROUTE },
{"isbflagset", (cmd_function)w_isbflagset, 1,fixup_igp_null,
- 0, ANY_ROUTE },
+ fixup_free_igp_null, ANY_ROUTE },
{"isbflagset", (cmd_function)w_isbflagset, 2,fixup_igp_igp,
- 0, ANY_ROUTE },
+ fixup_free_igp_igp, ANY_ROUTE },
{"setdsturi", (cmd_function)w_setdsturi, 1, fixup_spve_null,
fixup_free_spve_null, ANY_ROUTE },
{"resetdsturi", (cmd_function)w_resetdsturi, 0, 0,
@@ -99,9 +99,9 @@ static cmd_export_t cmds[]={
{"avp_printf", (cmd_function)w_pv_printf, 2, pv_printf_fixup,
0, ANY_ROUTE },
{"is_myself", (cmd_function)w_is_myself, 1, fixup_spve_null,
- 0, ANY_ROUTE },
+ fixup_free_spve_null, ANY_ROUTE },
{"setdebug", (cmd_function)w_setdebug, 1, fixup_igp_null,
- 0, ANY_ROUTE },
+ fixup_free_igp_null, ANY_ROUTE },
{"resetdebug", (cmd_function)w_resetdebug, 0, 0,
0, ANY_ROUTE },