Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/libgit2.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRussell Belfer <rb@github.com>2013-05-28 03:45:22 +0400
committerRussell Belfer <rb@github.com>2013-05-28 03:45:22 +0400
commit9007c53faecf51be7f166172682008d16f7d617a (patch)
tree8832573819986ca65f9d99ff66dd6a4b59d78195 /src/delta.c
parent8baca134cc21b5eef18e3d47d50ed55f633b57d1 (diff)
Fixing unwrapped calloc
Diffstat (limited to 'src/delta.c')
-rw-r--r--src/delta.c2
1 files changed, 1 insertions, 1 deletions
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;