]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
automerge commit
authorAutomerge Script <automerge@asterisk.org>
Mon, 7 May 2007 15:12:42 +0000 (15:12 +0000)
committerAutomerge Script <automerge@asterisk.org>
Mon, 7 May 2007 15:12:42 +0000 (15:12 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2-netsec@63223 65c4cc65-6c06-0410-ace0-fbb531ad65f3

config.c

index 89c5c499dd770bed23ba478527686f7fb4fea8cc..5136db92df4aa9b857658ae4678f2d40f898900f 100644 (file)
--- 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);