Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Git 2.7.6
[gitweb.git]
/
alias.c
diff --git
a/alias.c
b/alias.c
index a11229db9e67b7b651356be3fb1d4b3d1014a8bd..3b90397a99d9f7ed4a0c1c5a83f5e69c879e752f 100644
(file)
--- a/
alias.c
+++ b/
alias.c
@@
-23,7
+23,7
@@
int split_cmdline(char *cmdline, const char ***argv)
int src, dst, count = 0, size = 16;
char quoted = 0;
-
*argv = xmalloc(sizeof(**argv) *
size);
+
ALLOC_ARRAY(*argv,
size);
/* split alias_string */
(*argv)[count++] = cmdline;