aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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;