[asterisk-commits] tzafrir: branch 1.6.2 r261453 - in /branches/1.6.2: ./ channels/chan_dahdi.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Thu May 6 02:43:21 CDT 2010


Author: tzafrir
Date: Thu May  6 02:43:16 2010
New Revision: 261453

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=261453
Log:
Merged revisions 261451 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/trunk

........
  r261451 | tzafrir | 2010-05-06 10:27:31 +0300 (ה', 06 מאי 2010) | 4 lines
  
  When failing to configure, don't destroy 'cfg' twice
  
  Fixes a crash when some config section had an incorrect channel config.
........

Modified:
    branches/1.6.2/   (props changed)
    branches/1.6.2/channels/chan_dahdi.c

Propchange: branches/1.6.2/
------------------------------------------------------------------------------
Binary property 'trunk-merged' - no diff available.

Modified: branches/1.6.2/channels/chan_dahdi.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.6.2/channels/chan_dahdi.c?view=diff&rev=261453&r1=261452&r2=261453
==============================================================================
--- branches/1.6.2/channels/chan_dahdi.c (original)
+++ branches/1.6.2/channels/chan_dahdi.c Thu May  6 02:43:16 2010
@@ -17267,7 +17267,7 @@
 			ast_mutex_unlock(&iflock);
 			ast_config_destroy(cfg);
 			if (ucfg) {
-				ast_config_destroy(cfg);
+				ast_config_destroy(ucfg);
 			}
 			return res;
 		}




More information about the asterisk-commits mailing list