[asterisk-commits] tilghman: trunk r300799 - in /trunk: ./ addons/res_config_mysql.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Thu Jan 6 06:29:13 UTC 2011


Author: tilghman
Date: Thu Jan  6 00:29:08 2011
New Revision: 300799

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=300799
Log:
Merged revisions 300798 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.8

........
  r300798 | tilghman | 2011-01-06 00:28:18 -0600 (Thu, 06 Jan 2011) | 8 lines
  
  Don't destroy handle not created by use (because the caller will).
  
  (closes issue #18526)
   Reported by: makoto
   Patches: 
         res-config-mysql-include.patch uploaded by makoto (license 38)
   Tested by: makoto
........

Modified:
    trunk/   (props changed)
    trunk/addons/res_config_mysql.c

Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-1.8-merged' - no diff available.

Modified: trunk/addons/res_config_mysql.c
URL: http://svnview.digium.com/svn/asterisk/trunk/addons/res_config_mysql.c?view=diff&rev=300799&r1=300798&r2=300799
==============================================================================
--- trunk/addons/res_config_mysql.c (original)
+++ trunk/addons/res_config_mysql.c Thu Jan  6 00:29:08 2011
@@ -978,7 +978,6 @@
 				if (!ast_config_internal_load(row[2], cfg, config_flags, "", who_asked)) {
 					mysql_free_result(result);
 					release_database(dbh);
-					ast_config_destroy(cfg);
 					return NULL;
 				}
 				continue;




More information about the asterisk-commits mailing list