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 /help.c | |
| parent | 3a81b9f571a6b7edd83b3d5f27c3c95d9b1c9d5c (diff) | |
| download | git-3301521a2584128c23cae14bebbe260326dbcedf.tar.gz | |
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 'help.c')
| -rw-r--r-- | help.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -58,7 +58,7 @@ static void add_cmdname(const char *name, int len) if (!cmdname) oom(); } - ent = malloc(sizeof(*ent) + len); + ent = xmalloc(sizeof(*ent) + len); if (!ent) oom(); ent->len = len; |
