avoid NULL dereference on failed malloc
authorJim Meyering <redacted>
Sun, 14 Jun 2009 19:46:10 +0000 (21:46 +0200)
committerJunio C Hamano <redacted>
Sun, 14 Jun 2009 20:35:40 +0000 (13:35 -0700)
commitce61595ea7eb3df22f6a943a38a273141f1af978
tree558ef88b7c91c7d663b442469ea60e46808044bd
parent4a4b4cdaabde477514c4938b60961538e1d2d91f
avoid NULL dereference on failed malloc

* builtin-remote.c (get_one_entry): Use xmalloc, not malloc.

Signed-off-by: Jim Meyering <redacted>
Signed-off-by: Junio C Hamano <redacted>
builtin-remote.c
git clone https://git.99rst.org/PROJECT