Module: kamailio
Branch: master
Commit: a096d09bb54cd4259b46356c5cc24a53d751baf5
URL:
https://github.com/kamailio/kamailio/commit/a096d09bb54cd4259b46356c5cc24a5…
Author: Victor Seva <linuxmaniac(a)torreviejawireless.org>
Committer: Victor Seva <linuxmaniac(a)torreviejawireless.org>
Date: 2024-12-11T22:05:19+01:00
path: add fixup_free* to exported functions
---
Modified: src/modules/path/path_mod.c
---
Diff:
https://github.com/kamailio/kamailio/commit/a096d09bb54cd4259b46356c5cc24a5…
Patch:
https://github.com/kamailio/kamailio/commit/a096d09bb54cd4259b46356c5cc24a5…
---
diff --git a/src/modules/path/path_mod.c b/src/modules/path/path_mod.c
index ef34b8902cb..5c25278010c 100644
--- a/src/modules/path/path_mod.c
+++ b/src/modules/path/path_mod.c
@@ -88,17 +88,18 @@ ob_api_t path_obb;
* Exported functions
*/
static cmd_export_t cmds[] = {
- {"add_path", (cmd_function)add_path, 0, 0, 0, REQUEST_ROUTE},
- {"add_path", (cmd_function)add_path_usr, 1, fixup_spve_null, 0,
- REQUEST_ROUTE},
- {"add_path", (cmd_function)add_path_usr, 2, fixup_spve_spve, 0,
- REQUEST_ROUTE},
- {"add_path_received", (cmd_function)add_path_received, 0, 0, 0,
- REQUEST_ROUTE},
+ {"add_path", (cmd_function)add_path, 0,
+ 0, 0, REQUEST_ROUTE},
+ {"add_path", (cmd_function)add_path_usr, 1,
+ fixup_spve_null, fixup_free_spve_null, REQUEST_ROUTE},
+ {"add_path", (cmd_function)add_path_usr, 2,
+ fixup_spve_spve, fixup_free_spve_spve, REQUEST_ROUTE},
+ {"add_path_received", (cmd_function)add_path_received, 0,
+ 0, 0, REQUEST_ROUTE},
{"add_path_received", (cmd_function)add_path_received_usr, 1,
- fixup_spve_null, 0, REQUEST_ROUTE},
+ fixup_spve_null, fixup_free_spve_null, REQUEST_ROUTE},
{"add_path_received", (cmd_function)add_path_received_usr, 2,
- fixup_spve_spve, 0, REQUEST_ROUTE},
+ fixup_spve_spve, fixup_free_spve_spve, REQUEST_ROUTE},
{0, 0, 0, 0, 0, 0}
};