Module: kamailio
Branch: master
Commit: 8cf59e2bd1f9bb60d68b52f175df5dad9c34b533
URL:
https://github.com/kamailio/kamailio/commit/8cf59e2bd1f9bb60d68b52f175df5da…
Author: Victor Seva <linuxmaniac(a)torreviejawireless.org>
Committer: Victor Seva <linuxmaniac(a)torreviejawireless.org>
Date: 2024-11-20T16:07:21+01:00
textopsx: add fixup_free* to exported functions
---
Modified: src/modules/textopsx/textopsx.c
---
Diff:
https://github.com/kamailio/kamailio/commit/8cf59e2bd1f9bb60d68b52f175df5da…
Patch:
https://github.com/kamailio/kamailio/commit/8cf59e2bd1f9bb60d68b52f175df5da…
---
diff --git a/src/modules/textopsx/textopsx.c b/src/modules/textopsx/textopsx.c
index 8982924296a..4f6944816c3 100644
--- a/src/modules/textopsx/textopsx.c
+++ b/src/modules/textopsx/textopsx.c
@@ -128,12 +128,12 @@ static cmd_export_t cmds[] = {
{"msg_set_buffer", (cmd_function)msg_set_buffer_f, 1, fixup_spve_null,
fixup_free_spve_null, REQUEST_ROUTE | ONREPLY_ROUTE},
{"change_reply_status", change_reply_status_f, 2,
- change_reply_status_fixup, 0, ONREPLY_ROUTE},
+ change_reply_status_fixup, fixup_free_fparam_all, ONREPLY_ROUTE},
{"change_reply_status_code", change_reply_status_code_f, 1,
- fixup_igp_null, 0, ONREPLY_ROUTE},
+ fixup_igp_null, fixup_free_igp_null, ONREPLY_ROUTE},
{"remove_body", (cmd_function)w_remove_body_f, 0, 0, 0, ANY_ROUTE},
- {"keep_hf", (cmd_function)w_keep_hf_f, 0, fixup_regexp_null, 0, ANY_ROUTE},
- {"keep_hf", (cmd_function)w_keep_hf_f, 1, fixup_regexp_null, 0, ANY_ROUTE},
+ {"keep_hf", (cmd_function)w_keep_hf_f, 0, fixup_regexp_null,
fixup_free_regexp_null, ANY_ROUTE},
+ {"keep_hf", (cmd_function)w_keep_hf_f, 1, fixup_regexp_null,
fixup_free_regexp_null, ANY_ROUTE},
{"fnmatch", (cmd_function)w_fnmatch2_f, 2, fixup_fnmatch, 0, ANY_ROUTE},
{"fnmatch", (cmd_function)w_fnmatch3_f, 3, fixup_fnmatch, 0, ANY_ROUTE},
{"append_hf_value", insupddel_hf_value_f, 2, append_hf_value_fixup, 0,