diff --git a/main/manager.c b/main/manager.c index 336f64ff24..e7a8e9078d 100644 --- a/main/manager.c +++ b/main/manager.c @@ -3675,7 +3675,7 @@ static int restrictedFile(const char *filename) { char *stripped_filename; RAII_VAR(char *, path, NULL, ast_free); - RAII_VAR(char *, real_path, NULL, ast_free); + RAII_VAR(char *, real_path, NULL, ast_std_free); if (live_dangerously) { return 0;