summaryrefslogtreecommitdiff
path: root/examples/diff.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/diff.c')
-rw-r--r--examples/diff.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/diff.c b/examples/diff.c
index 9a4f7a59f..1de0483a3 100644
--- a/examples/diff.c
+++ b/examples/diff.c
@@ -332,6 +332,6 @@ static void diff_print_stats(git_diff *diff, struct opts *o)
fputs(b.ptr, stdout);
- git_buf_free(&b);
+ git_buf_dispose(&b);
git_diff_stats_free(stats);
}