Module: kamailio
Branch: master
Commit: 7d2fd09103680454aaaba30f5e46f83b362513eb
URL:
https://github.com/kamailio/kamailio/commit/7d2fd09103680454aaaba30f5e46f83…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2024-08-14T18:37:06+02:00
phonenum: add fixup free functions to exports structure
---
Modified: src/modules/phonenum/phonenum_mod.c
---
Diff:
https://github.com/kamailio/kamailio/commit/7d2fd09103680454aaaba30f5e46f83…
Patch:
https://github.com/kamailio/kamailio/commit/7d2fd09103680454aaaba30f5e46f83…
---
diff --git a/src/modules/phonenum/phonenum_mod.c b/src/modules/phonenum/phonenum_mod.c
index 665fa9b2772..c5eda4bdc35 100644
--- a/src/modules/phonenum/phonenum_mod.c
+++ b/src/modules/phonenum/phonenum_mod.c
@@ -58,9 +58,9 @@ static pv_export_t mod_pvs[] = {
static cmd_export_t cmds[]={
{"phonenum_match", (cmd_function)w_phonenum_match, 2, fixup_spve_spve,
- 0, ANY_ROUTE},
+ fixup_free_spve_spve, ANY_ROUTE},
{"phonenum_match_cn", (cmd_function)w_phonenum_match_cn, 3, fixup_spve_all,
- 0, ANY_ROUTE},
+ fixup_free_spve_all, ANY_ROUTE},
{0, 0, 0, 0, 0, 0}
};