aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authoroej <oej@f38db490-d61c-443f-a65b-d21fe96a405b>2007-05-07 20:07:38 +0000
committeroej <oej@f38db490-d61c-443f-a65b-d21fe96a405b>2007-05-07 20:07:38 +0000
commite11ab62d1caf9359c033b6ed6b90f076fd928e3a (patch)
tree960743537018572bcec1ae353e7742c04c3645ee /main
parentacabbccc5fd2aeec77ef934ba02b84fd09c82511 (diff)
Merged revisions 63254 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r63254 | oej | 2007-05-07 22:05:15 +0200 (Mon, 07 May 2007) | 2 lines Don't remove configuration from memory just because one section failed. ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@63255 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'main')
-rw-r--r--main/config.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/main/config.c b/main/config.c
index d9d303c6c..50979b431 100644
--- a/main/config.c
+++ b/main/config.c
@@ -631,7 +631,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);