[asterisk-commits] file: branch 1.4 r82243 - /branches/1.4/pbx/pbx_dundi.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Sep 11 09:56:40 CDT 2007


Author: file
Date: Tue Sep 11 09:56:39 2007
New Revision: 82243

URL: http://svn.digium.com/view/asterisk?view=rev&rev=82243
Log:
(closes issue #10577)
Reported by: jamesgolovich
Patches:
      asterisk-dundifree.diff.txt uploaded by jamesgolovich (license 176)
Don't leak memory when unloading DUNDi.

Modified:
    branches/1.4/pbx/pbx_dundi.c

Modified: branches/1.4/pbx/pbx_dundi.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/pbx/pbx_dundi.c?view=diff&rev=82243&r1=82242&r2=82243
==============================================================================
--- branches/1.4/pbx/pbx_dundi.c (original)
+++ branches/1.4/pbx/pbx_dundi.c Tue Sep 11 09:56:39 2007
@@ -4491,6 +4491,11 @@
 	io_context_destroy(io);
 	sched_context_destroy(sched);
 
+	mark_mappings();
+	prune_mappings();
+	mark_peers();
+	prune_peers();
+
 	return 0;
 }
 




More information about the asterisk-commits mailing list