mirror of
https://github.com/tmux/tmux.git
synced 2024-12-13 10:08:47 +00:00
Pass the right size to calloc (* not **).
This commit is contained in:
parent
67e70770c8
commit
5ae4b4acc0
@ -39,7 +39,7 @@ args_create(int argc, ...)
|
||||
if (argc == 0)
|
||||
args->argv = NULL;
|
||||
else
|
||||
args->argv = xcalloc(argc, sizeof **args->argv);
|
||||
args->argv = xcalloc(argc, sizeof *args->argv);
|
||||
|
||||
va_start(ap, argc);
|
||||
for (i = 0; i < argc; i++)
|
||||
|
Loading…
Reference in New Issue
Block a user