Module: kamailio
Branch: master
Commit: e742232ab6646ced170ccda5209a4d3ca46103bc
URL:
https://github.com/kamailio/kamailio/commit/e742232ab6646ced170ccda5209a4d3…
Author: Federico Cabiddu <federico.cabiddu(a)gmail.com>
Committer: Federico Cabiddu <federico.cabiddu(a)gmail.com>
Date: 2024-11-22T11:47:05+01:00
influxdb: add fixup_free* to exported functions
---
Modified: src/modules/influxdbc/influxdbc_mod.c
---
Diff:
https://github.com/kamailio/kamailio/commit/e742232ab6646ced170ccda5209a4d3…
Patch:
https://github.com/kamailio/kamailio/commit/e742232ab6646ced170ccda5209a4d3…
---
diff --git a/src/modules/influxdbc/influxdbc_mod.c
b/src/modules/influxdbc/influxdbc_mod.c
index 5261b5ea5c4..0b6f2c53874 100644
--- a/src/modules/influxdbc/influxdbc_mod.c
+++ b/src/modules/influxdbc/influxdbc_mod.c
@@ -63,21 +63,21 @@ static void mod_destroy(void);
/* clang-format off */
static cmd_export_t cmds[] = {
{"influxdbc_measure", (cmd_function)w_influxdbc_measure,
- 1, fixup_spve_null, 0, ANY_ROUTE},
+ 1, fixup_spve_null, fixup_free_spve_null, ANY_ROUTE},
{"influxdbc_measureend", (cmd_function)w_influxdbc_measureend,
0, 0, 0, ANY_ROUTE},
{"influxdbc_sub", (cmd_function)w_influxdbc_sub,
- 1, fixup_spve_null, 0, ANY_ROUTE},
+ 1, fixup_spve_null, fixup_free_spve_null, ANY_ROUTE},
{"influxdbc_subend", (cmd_function)w_influxdbc_subend,
0, 0, 0, ANY_ROUTE},
{"influxdbc_push", (cmd_function)w_influxdbc_push,
0, 0, 0, ANY_ROUTE},
{"influxdbc_long", (cmd_function)w_influxdbc_long,
- 2, fixup_spve_igp, 0, ANY_ROUTE},
+ 2, fixup_spve_igp, fixup_free_spve_igp, ANY_ROUTE},
{"influxdbc_string", (cmd_function)w_influxdbc_string,
- 2, fixup_spve_spve, 0, ANY_ROUTE},
+ 2, fixup_spve_spve, fixup_free_spve_spve, ANY_ROUTE},
{"influxdbc_double", (cmd_function)w_influxdbc_double,
- 2, fixup_spve_spve, 0, ANY_ROUTE},
+ 2, fixup_spve_spve, fixup_free_spve_spve, ANY_ROUTE},
{"influxdbc_division", (cmd_function)w_influxdbc_division,
3, fixup_sii, fixup_free_sii, ANY_ROUTE},