Module: kamailio
Branch: master
Commit: a58b4c2afbffdd2584f553f8d7d36a84d40e2aee
URL:
https://github.com/kamailio/kamailio/commit/a58b4c2afbffdd2584f553f8d7d36a8…
Author: Vicente Hernando <vhernando(a)systemonenoc.com>
Committer: Vicente Hernando <vhernando(a)systemonenoc.com>
Date: 2019-06-27T12:38:26+02:00
call_obj_mod: no need to use a free function for call_obj_get.
---
Modified: src/modules/call_obj/call_obj_mod.c
---
Diff:
https://github.com/kamailio/kamailio/commit/a58b4c2afbffdd2584f553f8d7d36a8…
Patch:
https://github.com/kamailio/kamailio/commit/a58b4c2afbffdd2584f553f8d7d36a8…
---
diff --git a/src/modules/call_obj/call_obj_mod.c b/src/modules/call_obj/call_obj_mod.c
index 250a4003b4..c8bc1786f0 100644
--- a/src/modules/call_obj/call_obj_mod.c
+++ b/src/modules/call_obj/call_obj_mod.c
@@ -28,7 +28,7 @@ int call_obj_end = 0;
/* module commands */
static cmd_export_t cmds[] = {
- {"call_obj_get", (cmd_function)w_call_obj_get, 1, fixup_pvar_null,
fixup_free_pvar_null, ANY_ROUTE},
+ {"call_obj_get", (cmd_function)w_call_obj_get, 1, fixup_pvar_null, 0,
ANY_ROUTE},
{"call_obj_free", (cmd_function)w_call_obj_free, 1, fixup_var_str_1, 0,
ANY_ROUTE},
{ 0, 0, 0, 0, 0, 0}
};