diff options
Diffstat (limited to 'funcs/func_config.c')
-rw-r--r-- | funcs/func_config.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/funcs/func_config.c b/funcs/func_config.c index 33f822b4a..0c734e0c9 100644 --- a/funcs/func_config.c +++ b/funcs/func_config.c @@ -146,6 +146,7 @@ static int config_function_read(struct ast_channel *chan, const char *cmd, char if (!(val = ast_variable_retrieve(cfg, args.category, args.variable))) { ast_log(LOG_ERROR, "'%s' not found in [%s] of '%s'\n", args.variable, args.category, args.filename); + AST_RWLIST_UNLOCK(&configs); return -1; } |