[asterisk-addons-commits] tilghman: branch 1.6.2 r1141 - /branches/1.6.2/res/res_config_mysql.c
SVN commits to the Asterisk addons project
asterisk-addons-commits at lists.digium.com
Thu Jan 6 00:26:58 CST 2011
Author: tilghman
Date: Thu Jan 6 00:26:51 2011
New Revision: 1141
URL: http://svnview.digium.com/svn/asterisk-addons?view=rev&rev=1141
Log:
Don't destroy a handle not created by us (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.6.2/res/res_config_mysql.c
Modified: branches/1.6.2/res/res_config_mysql.c
URL: http://svnview.digium.com/svn/asterisk-addons/branches/1.6.2/res/res_config_mysql.c?view=diff&rev=1141&r1=1140&r2=1141
==============================================================================
--- branches/1.6.2/res/res_config_mysql.c (original)
+++ branches/1.6.2/res/res_config_mysql.c Thu Jan 6 00:26:51 2011
@@ -975,7 +975,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-addons-commits
mailing list