Module: kamailio
Branch: master
Commit: 194d1bd1d1b86a92ee51bb32d88c105eb6130910
URL:
https://github.com/kamailio/kamailio/commit/194d1bd1d1b86a92ee51bb32d88c105…
Author: Alex Hermann <alex(a)hexla.nl>
Committer: Alex Hermann <alex(a)hexla.nl>
Date: 2017-09-22T11:56:38+02:00
cfgutils: Add fixup_free functions to (u)sleep functions
---
Modified: src/modules/cfgutils/cfgutils.c
---
Diff:
https://github.com/kamailio/kamailio/commit/194d1bd1d1b86a92ee51bb32d88c105…
Patch:
https://github.com/kamailio/kamailio/commit/194d1bd1d1b86a92ee51bb32d88c105…
---
diff --git a/src/modules/cfgutils/cfgutils.c b/src/modules/cfgutils/cfgutils.c
index ca7bf77ae3..d028a30918 100644
--- a/src/modules/cfgutils/cfgutils.c
+++ b/src/modules/cfgutils/cfgutils.c
@@ -134,9 +134,9 @@ static cmd_export_t cmds[]={
ANY_ROUTE},
{"rand_event", (cmd_function)rand_event, 0, 0, 0,
ANY_ROUTE},
- {"sleep", (cmd_function)m_sleep, 1, fixup_igp_null, 0,
+ {"sleep", (cmd_function)m_sleep, 1, fixup_igp_null, fixup_free_igp_null,
ANY_ROUTE},
- {"usleep", (cmd_function)m_usleep, 1, fixup_igp_null, 0,
+ {"usleep", (cmd_function)m_usleep, 1, fixup_igp_null, fixup_free_igp_null,
ANY_ROUTE},
{"abort", (cmd_function)dbg_abort, 0, 0, 0,
ANY_ROUTE},