diff options
Diffstat (limited to 'show-index.c')
-rw-r--r-- | show-index.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/show-index.c b/show-index.c index 63f9da5323..4c0ac138af 100644 --- a/show-index.c +++ b/show-index.c @@ -48,7 +48,7 @@ int main(int argc, char **argv) unsigned char sha1[20]; uint32_t crc; uint32_t off; - } *entries = xmalloc(nr * sizeof(entries[0])); + } *entries = malloc(nr * sizeof(entries[0])); for (i = 0; i < nr; i++) if (fread(entries[i].sha1, 20, 1, stdin) != 1) die("unable to read sha1 %u/%u", i, nr); |