aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorautomerge <automerge@f38db490-d61c-443f-a65b-d21fe96a405b>2007-05-07 15:12:42 +0000
committerautomerge <automerge@f38db490-d61c-443f-a65b-d21fe96a405b>2007-05-07 15:12:42 +0000
commitbf420e23abca6c42fbc35121c03c3aafdad60140 (patch)
tree5aa200ed563710b0e4f3086f65f64680d1365d75
parent53a54e2b74e14ca5bd9c3ea130705011857e31a6 (diff)
automerge commit
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2-netsec@63223 f38db490-d61c-443f-a65b-d21fe96a405b
-rw-r--r--config.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/config.c b/config.c
index 89c5c499d..5136db92d 100644
--- a/config.c
+++ b/config.c
@@ -409,7 +409,6 @@ static int process_text_line(struct ast_config *cfg, struct ast_category **cat,
} else if (!strcasecmp(cur, "+")) {
*cat = category_get(cfg, catname, 1);
if (!*cat) {
- ast_config_destroy(cfg);
if (newcat)
ast_category_destroy(newcat);
ast_log(LOG_WARNING, "Category addition requested, but category '%s' does not exist, line %d of %s\n", catname, lineno, configfile);