summaryrefslogtreecommitdiff
path: root/main/threadstorage.c
diff options
context:
space:
mode:
Diffstat (limited to 'main/threadstorage.c')
-rw-r--r--main/threadstorage.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/threadstorage.c b/main/threadstorage.c
index 403045bd8..c89d1078d 100644
--- a/main/threadstorage.c
+++ b/main/threadstorage.c
@@ -215,7 +215,7 @@ static char *handle_cli_threadstorage_show_summary(struct ast_cli_entry *e, int
}
if (!file) {
- file = alloca(sizeof(*file));
+ file = ast_alloca(sizeof(*file));
memset(file, 0, sizeof(*file));
file->name = fn ? to->function : to->file;
AST_LIST_INSERT_TAIL(&file_summary, file, entry);