[asterisk-commits] r313434 - svn:log

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Apr 12 15:28:20 CDT 2011


Author: jrose
Revision: 313434
Modified property: svn:log

Modified: svn:log at Tue Apr 12 15:28:20 2011
------------------------------------------------------------------------------
--- svn:log (original)
+++ svn:log Tue Apr 12 15:28:20 2011
@@ -2,19 +2,23 @@
 https://origsvn.digium.com/svn/asterisk/branches/1.6.2
 
 ........
+
   r313432 | jrose | 2011-04-12 13:12:29 -0500 (Tue, 12 Apr 2011) | 14 lines
   
-  fixes a chan_dahdi reload memory leak that occurs when there are channel variables
-  
-  reload chan_dahdi would cause variables to spill over from the previous config into the current config as 
-  well as add any variables in the new config (if left the same, full on duplication) This patch purges variables 
-  from pvts when they are reconfigured as well as from the configuration pvt once the configuration has been loaded.
-  
+  reload Chan_dahdi memory leak caused by variables
+
+  chan_dahdi reloading with variables set via setvar in chan_dahdi.conf would
+  stay in the dahdi_pvt structs for individual channels (causing them to just
+  continue adding the new ones to the list) and also there was a memory leak
+  causes by the conf objects. This patch resolves both of these by using 
+  ast_variables_destroy during the loading process.
+
   (closes issue #17450)
   Reported by: nahuelgreco
   Patches:
-        patch.diff uploaded by jrose (license 1225)
-  Tested by: tilghman, jrose
-  
+	  patch.diff uploaded by jrose (license 1225)
+	  Tested by: tilghman, jrose
+
   Review: https://reviewboard.asterisk.org/r/1170/
+
 ........




More information about the asterisk-commits mailing list