diff options
Diffstat (limited to 'main/astmm.c')
-rw-r--r-- | main/astmm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/astmm.c b/main/astmm.c index 125eb8c1d..741358205 100644 --- a/main/astmm.c +++ b/main/astmm.c @@ -430,7 +430,7 @@ static char *handle_memory_show_summary(struct ast_cli_entry *e, int cmd, struct break; } if (!cur) { - cur = alloca(sizeof(*cur)); + cur = ast_alloca(sizeof(*cur)); memset(cur, 0, sizeof(*cur)); ast_copy_string(cur->fn, fn ? reg->func : reg->file, sizeof(cur->fn)); cur->next = list; |