aboutsummaryrefslogtreecommitdiffstats
path: root/pbx
diff options
context:
space:
mode:
authorfile <file@f38db490-d61c-443f-a65b-d21fe96a405b>2007-09-11 14:56:39 +0000
committerfile <file@f38db490-d61c-443f-a65b-d21fe96a405b>2007-09-11 14:56:39 +0000
commit980a442aec2d479c2fc10a664612b40ad0ce1077 (patch)
tree5d15d60de9b2e14b6ef35809b1a693aedb62c0f6 /pbx
parentdf95dd782ea1ca553ed0aecf7c818bd45fe7592b (diff)
(closes issue #10577)
Reported by: jamesgolovich Patches: asterisk-dundifree.diff.txt uploaded by jamesgolovich (license 176) Don't leak memory when unloading DUNDi. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@82243 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'pbx')
-rw-r--r--pbx/pbx_dundi.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/pbx/pbx_dundi.c b/pbx/pbx_dundi.c
index a45758942..6ae74321f 100644
--- a/pbx/pbx_dundi.c
+++ b/pbx/pbx_dundi.c
@@ -4491,6 +4491,11 @@ static int unload_module(void)
io_context_destroy(io);
sched_context_destroy(sched);
+ mark_mappings();
+ prune_mappings();
+ mark_peers();
+ prune_peers();
+
return 0;
}