diff options
author | file <file@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-09-11 14:56:39 +0000 |
---|---|---|
committer | file <file@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-09-11 14:56:39 +0000 |
commit | 980a442aec2d479c2fc10a664612b40ad0ce1077 (patch) | |
tree | 5d15d60de9b2e14b6ef35809b1a693aedb62c0f6 /pbx | |
parent | df95dd782ea1ca553ed0aecf7c818bd45fe7592b (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.c | 5 |
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; } |