author | Dotan Barak <dotanba@gmail.com> | |
Tue, 9 Sep 2008 18:57:10 +0000 (21:57 +0300) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Tue, 9 Sep 2008 23:28:05 +0000 (16:28 -0700) | ||
commit | e8eec71d6e79c176d34dc8fda8780ed4dee447a2 | |
tree | 67faf2bc865ed17e29ab2ad042a526bc6383a7e3 | tree | snapshot |
parent | 4886b89f8fde57b76738c96761eecbfbd0b13112 | commit | diff |
Use xmalloc() and friends to catch allocation failures
Some places use the standard malloc/strdup without checking if the
allocation was successful; they should use xmalloc/xstrdup that
check the memory allocation result.
Signed-off-by: Dotan Barak <dotanba@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Some places use the standard malloc/strdup without checking if the
allocation was successful; they should use xmalloc/xstrdup that
check the memory allocation result.
Signed-off-by: Dotan Barak <dotanba@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-http-fetch.c | diff | blob | history | |
git.c | diff | blob | history | |
http-push.c | diff | blob | history | |
http.c | diff | blob | history | |
remote.c | diff | blob | history |