Index: funcs/func_config.c =================================================================== --- funcs/func_config.c (revision 134004) +++ funcs/func_config.c (working copy) @@ -146,6 +146,7 @@ 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; }