diff options
author | file <file@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-09-11 14:58:11 +0000 |
---|---|---|
committer | file <file@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-09-11 14:58:11 +0000 |
commit | c52a118fff19a115756b2f62b222911c2ff22ef4 (patch) | |
tree | 43294ec395d2a1db48255eb56b5cf23560d181f6 /pbx | |
parent | b3d91631a9e540786aa81e2ee3c5ff3145f5bcb4 (diff) |
Merged revisions 82243 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r82243 | file | 2007-09-11 11:56:39 -0300 (Tue, 11 Sep 2007) | 6 lines
(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/trunk@82244 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 169426c4c..e1d79c83a 100644 --- a/pbx/pbx_dundi.c +++ b/pbx/pbx_dundi.c @@ -4743,6 +4743,11 @@ static int unload_module(void) io_context_destroy(io); sched_context_destroy(sched); + mark_mappings(); + prune_mappings(); + mark_peers(); + prune_peers(); + return 0; } |