summaryrefslogtreecommitdiff
path: root/src/odb.c
diff options
context:
space:
mode:
authorVicent Marti <tanoku@gmail.com>2013-06-12 21:10:33 +0200
committerVicent Marti <tanoku@gmail.com>2013-06-12 21:10:33 +0200
commit6de9b2ee14a2393fae3ed86c5a5d12712c83b083 (patch)
tree5fa21515d4ed0810b0dd35c6e6af1c8d1060e125 /src/odb.c
parenteb58e2d0be4e07c2ef873a5f0562eaa90826c2de (diff)
downloadlibgit2-6de9b2ee14a2393fae3ed86c5a5d12712c83b083.tar.gz
util: It's called `memzero`
Diffstat (limited to 'src/odb.c')
-rw-r--r--src/odb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/odb.c b/src/odb.c
index 5e27edacd..8e62efd00 100644
--- a/src/odb.c
+++ b/src/odb.c
@@ -590,7 +590,7 @@ static void odb_free(git_odb *db)
git_vector_free(&db->backends);
git_cache_free(&db->own_cache);
- git__memset(db, 0, sizeof(*db));
+ git__memzero(db, sizeof(*db));
git__free(db);
}