diff options
author | Tilghman Lesher <tilghman@meg.abyt.es> | 2007-08-17 14:41:33 +0000 |
---|---|---|
committer | Tilghman Lesher <tilghman@meg.abyt.es> | 2007-08-17 14:41:33 +0000 |
commit | 8b63009338e6717bb040dcbd57a8e434f374691d (patch) | |
tree | b53abb2dee156b216d22ce68b4ad744d46f10a4b /main/config.c | |
parent | c67f7fd3da07e5959a3d2b7ac932cf7c35de2782 (diff) |
Change this flag... might not otherwise unlock in an OOM situation
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@79885 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'main/config.c')
-rw-r--r-- | main/config.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/config.c b/main/config.c index 1405423c4..c0e1669e6 100644 --- a/main/config.c +++ b/main/config.c @@ -967,7 +967,7 @@ static struct ast_config *config_text_file_load(const char *database, const char return CONFIG_STATUS_FILEUNCHANGED; } } - if (cfmtime) + if (!ast_test_flag(&flags, CONFIG_FLAG_NOCACHE)) AST_LIST_UNLOCK(&cfmtime_head); /* If cfg is NULL, then we just want an answer */ |