summaryrefslogtreecommitdiff
path: root/src/hash.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/hash.c')
-rw-r--r--src/hash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hash.c b/src/hash.c
index 4ff1dd099..65912dec2 100644
--- a/src/hash.c
+++ b/src/hash.c
@@ -33,7 +33,7 @@ struct git_hash_ctx {
git_hash_ctx *git_hash_new_ctx(void)
{
- git_hash_ctx *ctx = malloc(sizeof(*ctx));
+ git_hash_ctx *ctx = git__malloc(sizeof(*ctx));
if (!ctx)
return NULL;