Module: kamailio
Branch: master
Commit: 4e88b0592299e69c4d20981d20a23e667268c7c0
URL: 
https://github.com/kamailio/kamailio/commit/4e88b0592299e69c4d20981d20a23e667268c7c0

Author: Victor Seva <linuxman...@torreviejawireless.org>
Committer: Victor Seva <linuxman...@torreviejawireless.org>
Date: 2024-11-21T19:22:38+01:00

speeddial: add fixup_free* to exported functions

---

Modified: src/modules/speeddial/speeddial.c

---

Diff:  
https://github.com/kamailio/kamailio/commit/4e88b0592299e69c4d20981d20a23e667268c7c0.diff
Patch: 
https://github.com/kamailio/kamailio/commit/4e88b0592299e69c4d20981d20a23e667268c7c0.patch

---

diff --git a/src/modules/speeddial/speeddial.c 
b/src/modules/speeddial/speeddial.c
index 0b1b66523d3..cc479213a0a 100644
--- a/src/modules/speeddial/speeddial.c
+++ b/src/modules/speeddial/speeddial.c
@@ -66,8 +66,8 @@ db1_con_t *db_handle = 0; /* Database connection handle */
 /* clang-format off */
 /* Exported functions */
 static cmd_export_t cmds[] = {
-       {"sd_lookup", (cmd_function)w_sd_lookup, 1, fixup_spve_null, 0, 
REQUEST_ROUTE},
-       {"sd_lookup", (cmd_function)w_sd_lookup, 2, fixup_spve_spve, 0, 
REQUEST_ROUTE},
+       {"sd_lookup", (cmd_function)w_sd_lookup, 1, fixup_spve_null, 
fixup_free_spve_null, REQUEST_ROUTE},
+       {"sd_lookup", (cmd_function)w_sd_lookup, 2, fixup_spve_spve, 
fixup_free_spve_spve,      REQUEST_ROUTE},
        {0, 0, 0, 0, 0, 0}
 };
 

_______________________________________________
Kamailio - Development Mailing List -- sr-dev@lists.kamailio.org
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the 
sender!

Reply via email to