diff options
author | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-02-11 19:31:11 +0000 |
---|---|---|
committer | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-02-11 19:31:11 +0000 |
commit | 29c48e23e2673f30ae02881dde13d2a5a34b58c1 (patch) | |
tree | 405f4dc66b10eb52b066f309fba8cda09a54c6b4 /pbx/pbx_dundi.c | |
parent | e433781c737b9b1b5dad93fa34bfe72f86a212ca (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: http://svn.digium.com/svn/asterisk/trunk@9610 f38db490-d61c-443f-a65b-d21fe96a405b
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; } |