aboutsummaryrefslogtreecommitdiffstats
path: root/addons
diff options
context:
space:
mode:
authortilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2011-01-06 06:29:08 +0000
committertilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2011-01-06 06:29:08 +0000
commit5aa0f11acde8f500686444aa3a6721a6d0a01a92 (patch)
treea9cd1aeeeacb79bfeb12f8b8927ab5512b30bacd /addons
parent6768488d316f93e9f575a3a62ef5ec9bc2803ed0 (diff)
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 ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@300799 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'addons')
-rw-r--r--addons/res_config_mysql.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/addons/res_config_mysql.c b/addons/res_config_mysql.c
index 93a743245..217664709 100644
--- a/addons/res_config_mysql.c
+++ b/addons/res_config_mysql.c
@@ -978,7 +978,6 @@ static struct ast_config *config_mysql(const char *database, const char *table,
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;