From: Tilghman Lesher Date: Fri, 17 Aug 2007 14:41:33 +0000 (+0000) Subject: Change this flag... might not otherwise unlock in an OOM situation X-Git-Tag: 1.6.0-beta1~3^2~1694 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8b63009338e6717bb040dcbd57a8e434f374691d;p=thirdparty%2Fasterisk.git 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 --- 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 */