Replace xmalloc/memset(0) pairs with xcalloc
authorBrandon Casey <redacted>
Mon, 6 Oct 2008 23:39:10 +0000 (18:39 -0500)
committerShawn O. Pearce <redacted>
Wed, 8 Oct 2008 14:30:59 +0000 (07:30 -0700)
commit19d4b416f429ac2d3f4c225aaf1af8761bcb03dd
tree6675797b5e141a32cf8c4d551be3dddc5e5fc020
parent276328ffb87cefdc515bee5f09916aea6e0244ed
Replace xmalloc/memset(0) pairs with xcalloc

Many call sites immediately initialize allocated memory with zero after
calling xmalloc. A single call to xcalloc can replace this two-call
sequence.

Signed-off-by: Brandon Casey <redacted>
Signed-off-by: Shawn O. Pearce <redacted>
builtin-merge.c
builtin-pack-objects.c
builtin-unpack-objects.c
merge-tree.c
remote.c
git clone https://git.99rst.org/PROJECT