diff options
Diffstat (limited to 'pbx/pbx_ael.c')
-rw-r--r-- | pbx/pbx_ael.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pbx/pbx_ael.c b/pbx/pbx_ael.c index 94a6212fa..5c42732bf 100644 --- a/pbx/pbx_ael.c +++ b/pbx/pbx_ael.c @@ -165,7 +165,7 @@ static int pbx_load_module(void) if (config[0] == '/') rfilename = (char *)config; else { - rfilename = alloca(strlen(config) + strlen(ast_config_AST_CONFIG_DIR) + 2); + rfilename = ast_alloca(strlen(config) + strlen(ast_config_AST_CONFIG_DIR) + 2); sprintf(rfilename, "%s/%s", ast_config_AST_CONFIG_DIR, config); } if (access(rfilename,R_OK) != 0) { |