author | Jim Meyering <jim@meyering.net> | |
Sun, 14 Jun 2009 19:46:10 +0000 (21:46 +0200) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Sun, 14 Jun 2009 20:35:40 +0000 (13:35 -0700) | ||
commit | ce61595ea7eb3df22f6a943a38a273141f1af978 | |
tree | 558ef88b7c91c7d663b442469ea60e46808044bd | tree | snapshot |
parent | 4a4b4cdaabde477514c4938b60961538e1d2d91f | commit | diff |
avoid NULL dereference on failed malloc
* builtin-remote.c (get_one_entry): Use xmalloc, not malloc.
Signed-off-by: Jim Meyering <meyering@redhat.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
* builtin-remote.c (get_one_entry): Use xmalloc, not malloc.
Signed-off-by: Jim Meyering <meyering@redhat.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-remote.c | diff | blob | history |