aboutsummaryrefslogtreecommitdiffstats
path: root/config.c
diff options
context:
space:
mode:
authorkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2005-08-30 18:32:10 +0000
committerkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2005-08-30 18:32:10 +0000
commit3c4140b8b100b2e54e8ab6db85354576483c9ec5 (patch)
tree6a1252e074cadda423d1a34d51882f28a67a4092 /config.c
parent410e2e9c48ce7f05be14febc7080b1f6c93a9ce8 (diff)
major header file cleanup: license, copyrights, descriptions, markers, etc.
remove deprecated config_old.c/config_old.h remove unused cvsid.h git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6454 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'config.c')
-rwxr-xr-xconfig.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/config.c b/config.c
index 46234ce83..bdd550825 100755
--- a/config.c
+++ b/config.c
@@ -394,7 +394,7 @@ 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_destroy(cfg);
+ 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);