summaryrefslogtreecommitdiff
path: root/src/cache.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cache.c')
-rw-r--r--src/cache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cache.c b/src/cache.c
index afc7c5b3a..570838e44 100644
--- a/src/cache.c
+++ b/src/cache.c
@@ -107,7 +107,7 @@ void git_cache_free(git_cache *cache)
git_cache_clear(cache);
git_oidmap_free(cache->map);
git_mutex_free(&cache->lock);
- memset(cache, 0, sizeof(*cache));
+ git__memset(cache, 0, sizeof(*cache));
}
/* Called with lock */