Module: kamailio
Branch: master
Commit: 97b3d1cd3daec0741352764cb89f08d6d98fe3df
URL:
https://github.com/kamailio/kamailio/commit/97b3d1cd3daec0741352764cb89f08d…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2024-11-28T11:00:40+01:00
ims_registrar_scscf: use defined fetchc fixup free function
---
Modified: src/modules/ims_registrar_scscf/ims_registrar_scscf_mod.c
---
Diff:
https://github.com/kamailio/kamailio/commit/97b3d1cd3daec0741352764cb89f08d…
Patch:
https://github.com/kamailio/kamailio/commit/97b3d1cd3daec0741352764cb89f08d…
---
diff --git a/src/modules/ims_registrar_scscf/ims_registrar_scscf_mod.c
b/src/modules/ims_registrar_scscf/ims_registrar_scscf_mod.c
index 4c55f50f4a0..5e163b0403a 100644
--- a/src/modules/ims_registrar_scscf/ims_registrar_scscf_mod.c
+++ b/src/modules/ims_registrar_scscf/ims_registrar_scscf_mod.c
@@ -262,7 +262,7 @@ static cmd_export_t cmds[] = {
{"unregister", (cmd_function)unregister, 2, unreg_fixup, unreg_fixup_free,
REQUEST_ROUTE | FAILURE_ROUTE},
{"reg_fetch_contacts", (cmd_function)pv_fetch_contacts, 3, fetchc_fixup,
- 0, REQUEST_ROUTE | FAILURE_ROUTE},
+ fetchc_fixup_free, REQUEST_ROUTE | FAILURE_ROUTE},
{"reg_free_contacts", (cmd_function)pv_free_contacts, 1, fixup_str_null,
fixup_free_str_null,
REQUEST_ROUTE | FAILURE_ROUTE},
{"can_subscribe_to_reg", (cmd_function)can_subscribe_to_reg, 1, domain_fixup,
0, REQUEST_ROUTE},