diff options
Diffstat (limited to 'src/diff.c')
-rw-r--r-- | src/diff.c | 2 |
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); } |