Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
i18n: simplify numeric error reporting
[gitweb.git]
/
builtin
/
pack-redundant.c
diff --git
a/builtin/pack-redundant.c
b/builtin/pack-redundant.c
index d0532f66b1d4a479360263bb031e001f4cb42a46..72c815844dd2abe7f2b4bc5a641eb692d2a45103 100644
(file)
--- a/
builtin/pack-redundant.c
+++ b/
builtin/pack-redundant.c
@@
-53,7
+53,7
@@
static inline struct llist_item *llist_item_get(void)
free_nodes = free_nodes->next;
} else {
int i = 1;
-
new = xmalloc(sizeof(struct llist_item) *
BLKSIZE);
+
ALLOC_ARRAY(new,
BLKSIZE);
for (; i < BLKSIZE; i++)
llist_item_put(&new[i]);
}