[svn-commits] tilghman: branch 1.8 r300798 - /branches/1.8/addons/res_config_mysql.c
SVN commits to the Digium repositories
svn-commits at lists.digium.com
Thu Jan 6 06:28:23 UTC 2011
Author: tilghman
Date: Thu Jan 6 00:28:18 2011
New Revision: 300798
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=300798
Log:
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:
branches/1.8/addons/res_config_mysql.c
Modified: branches/1.8/addons/res_config_mysql.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.8/addons/res_config_mysql.c?view=diff&rev=300798&r1=300797&r2=300798
==============================================================================
--- branches/1.8/addons/res_config_mysql.c (original)
+++ branches/1.8/addons/res_config_mysql.c Thu Jan 6 00:28:18 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 svn-commits
mailing list