Commit 9007c53f by Russell Belfer

Fixing unwrapped calloc

parent 8baca134
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment