aboutsummaryrefslogtreecommitdiffstats
path: root/pbx
diff options
context:
space:
mode:
authorrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2006-02-11 19:23:20 +0000
committerrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2006-02-11 19:23:20 +0000
commite976eec3a1bceadff5a7b9fd94ce555f2dc1102c (patch)
tree80edd6d7ebe4a354807d3ab6f23fe09d9f6cad57 /pbx
parent8762772101e51beb9999035d1c15f3a7d860688f (diff)
fix memory leak from not destroying the scheduler context on module unload
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@9609 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'pbx')
-rw-r--r--pbx/pbx_dundi.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/pbx/pbx_dundi.c b/pbx/pbx_dundi.c
index b978d28a6..8f0457296 100644
--- a/pbx/pbx_dundi.c
+++ b/pbx/pbx_dundi.c
@@ -4726,6 +4726,7 @@ int unload_module(void)
ast_unregister_switch(&dundi_switch);
ast_custom_function_unregister(&dundi_function);
res = ast_unregister_application(app);
+ sched_context_destroy(sched);
return res;
}