Module: kamailio
Branch: master
Commit: bc0d1a1b166a7c4eac6d4eb0652d77263db3d0a6
URL:
https://github.com/kamailio/kamailio/commit/bc0d1a1b166a7c4eac6d4eb0652d772…
Author: Federico Cabiddu <federico.cabiddu(a)gmail.com>
Committer: Federico Cabiddu <federico.cabiddu(a)gmail.com>
Date: 2024-11-21T09:18:45+01:00
ims_ocs: add fixup_free* to exported functions
---
Modified: src/modules/ims_ocs/ims_ocs_mod.c
---
Diff:
https://github.com/kamailio/kamailio/commit/bc0d1a1b166a7c4eac6d4eb0652d772…
Patch:
https://github.com/kamailio/kamailio/commit/bc0d1a1b166a7c4eac6d4eb0652d772…
---
diff --git a/src/modules/ims_ocs/ims_ocs_mod.c b/src/modules/ims_ocs/ims_ocs_mod.c
index 3ee4e4ab485..93af1190989 100644
--- a/src/modules/ims_ocs/ims_ocs_mod.c
+++ b/src/modules/ims_ocs/ims_ocs_mod.c
@@ -53,22 +53,25 @@ int event_route_ccr_term = 0;
static int w_ccr_result(
struct sip_msg *msg, char *result, char *grantedunits, char *final);
-static cmd_export_t cmds[] = {{"ccr_result", (cmd_function)w_ccr_result, 3,
- fixup_var_pve_str_12, 0, REQUEST_ROUTE},
- {0, 0, 0, 0, 0, 0}};
+/* clang-format off */
+static cmd_export_t cmds[] = {{"ccr_result", (cmd_function)w_ccr_result, 3,
fixup_var_pve_str_12, fixup_free_fparam_all, REQUEST_ROUTE},
+ {0, 0, 0, 0, 0, 0}
+};
static param_export_t params[] = {{0, 0, 0}};
/** module exports */
struct module_exports exports = {"ims_ocs", DEFAULT_DLFLAGS, /* dlopen flags
*/
- cmds, /* Exported functions */
- params, 0, /* exported RPC methods */
- 0, /* exported pseudo-variables */
- 0, /* response handling function */
- mod_init, /* module initialization function */
- mod_child_init, /* per-child init function */
- mod_destroy};
+ cmds, /* Exported functions */
+ params, 0, /* exported RPC methods */
+ 0, /* exported pseudo-variables */
+ 0, /* response handling function */
+ mod_init, /* module initialization function */
+ mod_child_init, /* per-child init function */
+ mod_destroy
+};
+/* clang-format on */
/**
* init module function