diff options
author | Russell Bryant <russell@russellbryant.com> | 2006-02-11 19:31:11 +0000 |
---|---|---|
committer | Russell Bryant <russell@russellbryant.com> | 2006-02-11 19:31:11 +0000 |
commit | 452f87a465ccc79174417f7eeeac5a56d1ff34d6 (patch) | |
tree | 405f4dc66b10eb52b066f309fba8cda09a54c6b4 /pbx/pbx_dundi.c | |
parent | b949837dc823d096a5cfbbf27b91564981900caa (diff) |
Merged revisions 9609 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r9609 | russell | 2006-02-11 14:23:20 -0500 (Sat, 11 Feb 2006) | 2 lines
fix memory leak from not destroying the scheduler context on module unload
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@9610 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'pbx/pbx_dundi.c')
-rw-r--r-- | pbx/pbx_dundi.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pbx/pbx_dundi.c b/pbx/pbx_dundi.c index 5c876c501..e80278447 100644 --- a/pbx/pbx_dundi.c +++ b/pbx/pbx_dundi.c @@ -4642,6 +4642,7 @@ int unload_module(void) ast_cli_unregister(&cli_queryeid); ast_unregister_switch(&dundi_switch); ast_custom_function_unregister(&dundi_function); + sched_context_destroy(sched); return 0; } |