Module: kamailio
Branch: master
Commit: 1ce99a243e22eb8acdc94cc8f7ec98a6846760bf
URL:
https://github.com/kamailio/kamailio/commit/1ce99a243e22eb8acdc94cc8f7ec98a…
Author: Victor Seva <linuxmaniac(a)torreviejawireless.org>
Committer: Victor Seva <linuxmaniac(a)torreviejawireless.org>
Date: 2024-11-22T10:58:55+01:00
rtjson: add fixup_free* to exported functions
---
Modified: src/modules/rtjson/rtjson_mod.c
---
Diff:
https://github.com/kamailio/kamailio/commit/1ce99a243e22eb8acdc94cc8f7ec98a…
Patch:
https://github.com/kamailio/kamailio/commit/1ce99a243e22eb8acdc94cc8f7ec98a…
---
diff --git a/src/modules/rtjson/rtjson_mod.c b/src/modules/rtjson/rtjson_mod.c
index 48da0e9f9fa..60ace41542f 100644
--- a/src/modules/rtjson/rtjson_mod.c
+++ b/src/modules/rtjson/rtjson_mod.c
@@ -49,7 +49,7 @@ static int w_rtjson_update_branch(sip_msg_t *msg, char *p1, char *p2);
/* clang-format off */
static cmd_export_t cmds[] = {
{"rtjson_init_routes", (cmd_function)w_rtjson_init_routes, 1,
- fixup_spve_null, 0, REQUEST_ROUTE},
+ fixup_spve_null, fixup_free_spve_null, REQUEST_ROUTE},
{"rtjson_push_routes", (cmd_function)w_rtjson_push_routes, 0, 0, 0,
REQUEST_ROUTE},
{"rtjson_next_route", (cmd_function)w_rtjson_next_route, 0, 0, 0,
REQUEST_ROUTE | FAILURE_ROUTE},
{"rtjson_update_branch", (cmd_function)w_rtjson_update_branch, 0, 0, 0,
BRANCH_ROUTE},