From 8b63009338e6717bb040dcbd57a8e434f374691d Mon Sep 17 00:00:00 2001 From: Tilghman Lesher Date: Fri, 17 Aug 2007 14:41:33 +0000 Subject: [PATCH] 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 --- main/config.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main/config.c b/main/config.c index 1405423c45..c0e1669e6c 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 */