diff options
| author | James Bowes <jbowes@dangerouslyinc.com> | 2007-03-25 20:39:36 -0400 |
|---|---|---|
| committer | Junio C Hamano <junkio@cox.net> | 2007-03-25 18:00:23 -0700 |
| commit | 3301521a2584128c23cae14bebbe260326dbcedf (patch) | |
| tree | 33d433fdbe47f09d56459fd8dfcac336de686a60 /git.c | |
| parent | Merge branch 'jc/fpl' (diff) | |
| download | git-3301521a2584128c23cae14bebbe260326dbcedf.tar.gz git-3301521a2584128c23cae14bebbe260326dbcedf.zip | |
use xmalloc in git.c and help.c
Signed-off-by: James Bowes <jbowes@dangerouslyinc.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'git.c')
| -rw-r--r-- | git.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -99,7 +99,7 @@ static int split_cmdline(char *cmdline, const char ***argv) int src, dst, count = 0, size = 16; char quoted = 0; - *argv = malloc(sizeof(char*) * size); + *argv = xmalloc(sizeof(char*) * size); /* split alias_string */ (*argv)[count++] = cmdline; |
