summaryrefslogtreecommitdiff
path: root/src/diff.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/diff.c
parenteb58e2d0be4e07c2ef873a5f0562eaa90826c2de (diff)
downloadlibgit2-6de9b2ee14a2393fae3ed86c5a5d12712c83b083.tar.gz
util: It's called `memzero`
Diffstat (limited to 'src/diff.c')
-rw-r--r--src/diff.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/diff.c b/src/diff.c
index bd2b88167..3bfe149e3 100644
--- a/src/diff.c
+++ b/src/diff.c
@@ -466,7 +466,7 @@ static void diff_list_free(git_diff_list *diff)
git_pathspec_free(&diff->pathspec);
git_pool_clear(&diff->pool);
- git__memset(diff, 0, sizeof(*diff));
+ git__memzero(diff, sizeof(*diff));
git__free(diff);
}