Module: kamailio
Branch: master
Commit: 03287733434a6c2762ffad653917e15bbc462e0c
URL:
https://github.com/kamailio/kamailio/commit/03287733434a6c2762ffad653917e15…
Author: Federico Cabiddu <federico.cabiddu(a)gmail.com>
Committer: Federico Cabiddu <federico.cabiddu(a)gmail.com>
Date: 2024-11-20T14:19:11+01:00
enum: add fixup_free* to exported functions
---
Modified: src/modules/enum/enum_mod.c
---
Diff:
https://github.com/kamailio/kamailio/commit/03287733434a6c2762ffad653917e15…
Patch:
https://github.com/kamailio/kamailio/commit/03287733434a6c2762ffad653917e15…
---
diff --git a/src/modules/enum/enum_mod.c b/src/modules/enum/enum_mod.c
index d7c3280841f..c1eb4a0359c 100644
--- a/src/modules/enum/enum_mod.c
+++ b/src/modules/enum/enum_mod.c
@@ -58,9 +58,9 @@ str service = {0, 0};
/* clang-format off */
static cmd_export_t cmds[] = {
{"enum_query", (cmd_function)enum_query_0, 0, 0, 0, REQUEST_ROUTE},
- {"enum_query", (cmd_function)enum_query_1, 1, fixup_spve_null, 0,
+ {"enum_query", (cmd_function)enum_query_1, 1, fixup_spve_null,
fixup_free_spve_null,
REQUEST_ROUTE},
- {"enum_query", (cmd_function)enum_query_2, 2, fixup_spve_spve, 0,
+ {"enum_query", (cmd_function)enum_query_2, 2, fixup_spve_spve,
fixup_free_spve_spve,
REQUEST_ROUTE},
{"enum_pv_query", (cmd_function)enum_pv_query_1, 1, fixup_spve_null,
fixup_free_spve_null, REQUEST_ROUTE},
@@ -75,9 +75,9 @@ static cmd_export_t cmds[] = {
{"is_from_user_enum", (cmd_function)is_from_user_enum_2, 2,
fixup_spve_spve, fixup_free_spve_spve, REQUEST_ROUTE},
{"i_enum_query", (cmd_function)i_enum_query_0, 0, 0, 0, REQUEST_ROUTE},
- {"i_enum_query", (cmd_function)i_enum_query_1, 1, fixup_spve_null, 0,
+ {"i_enum_query", (cmd_function)i_enum_query_1, 1, fixup_spve_null,
fixup_free_spve_null,
REQUEST_ROUTE},
- {"i_enum_query", (cmd_function)i_enum_query_2, 2, fixup_spve_spve, 0,
+ {"i_enum_query", (cmd_function)i_enum_query_2, 2, fixup_spve_spve,
fixup_free_spve_spve,
REQUEST_ROUTE},
{0, 0, 0, 0, 0, 0}
};
@@ -192,4 +192,4 @@ int mod_register(char *path, int *dlflags, void *p1, void *p2)
{
sr_kemi_modules_add(sr_kemi_enum_exports);
return 0;
-}
\ No newline at end of file
+}