From 9007c53faecf51be7f166172682008d16f7d617a Mon Sep 17 00:00:00 2001 From: Russell Belfer Date: Mon, 27 May 2013 16:45:22 -0700 Subject: [PATCH] Fixing unwrapped calloc --- src/delta.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/delta.c b/src/delta.c index 3252dbf14..b3435ba87 100644 --- a/src/delta.c +++ b/src/delta.c @@ -168,7 +168,7 @@ git_delta_create_index(const void *buf, unsigned long bufsize) memset(hash, 0, hsize * sizeof(*hash)); /* allocate an array to count hash entries */ - hash_count = calloc(hsize, sizeof(*hash_count)); + hash_count = git__calloc(hsize, sizeof(*hash_count)); if (!hash_count) { git__free(index); return NULL;