diff options
author | citats <citats@f38db490-d61c-443f-a65b-d21fe96a405b> | 2004-02-23 05:37:24 +0000 |
---|---|---|
committer | citats <citats@f38db490-d61c-443f-a65b-d21fe96a405b> | 2004-02-23 05:37:24 +0000 |
commit | 8bad98386f0207d3b50fd97a8b327e6102fb5a03 (patch) | |
tree | f6158b11999e5d12e30645d669e07435c1b48451 | |
parent | 730f96da1caa7364628a287331425193df69bd09 (diff) |
Fix some comments in pbx.c and pbx_config.c
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@2223 f38db490-d61c-443f-a65b-d21fe96a405b
-rwxr-xr-x | pbx.c | 3 | ||||
-rwxr-xr-x | pbx/pbx_config.c | 2 |
2 files changed, 3 insertions, 2 deletions
@@ -4096,12 +4096,13 @@ void __ast_context_destroy(struct ast_context *con, char *registrar, int lock) free(tmpil); } for (ipi = tmp->ignorepats; ipi; ) { - /* Free includes */ + /* Free ignorepats */ ipl = ipi; ipi = ipi->next; free(ipl); } for (sw = tmp->alts; sw; ) { + /* Free switches */ swl = sw; sw = sw->next; free(swl); diff --git a/pbx/pbx_config.c b/pbx/pbx_config.c index e017be79c..be87fff1c 100755 --- a/pbx/pbx_config.c +++ b/pbx/pbx_config.c @@ -1576,7 +1576,7 @@ static int pbx_load_module(void) } cxt = ast_category_browse(cfg, NULL); while(cxt) { - /* All categories but "general" are considered contexts */ + /* All categories but "general" or "globals" are considered contexts */ if (!strcasecmp(cxt, "general") || !strcasecmp(cxt, "globals")) { cxt = ast_category_browse(cfg, cxt); continue; |