X-Git-Url: https://gitweb.ps.run/ps-cgit/blobdiff_plain/93d8ef8f1de4385c565049e1ccd7fdd25e6c14d7..865afe0eb1b5e6485fe0f65472e6635266e393b1:/ui-stats.c diff --git a/ui-stats.c b/ui-stats.c index bc27308..6f13c32 100644 --- a/ui-stats.c +++ b/ui-stats.c @@ -244,7 +244,7 @@ static struct string_list collect_stats(struct cgit_period *period) memset(&authors, 0, sizeof(authors)); while ((commit = get_revision(&rev)) != NULL) { add_commit(&authors, commit, period); - free(commit->buffer); + free_commit_buffer(commit); free_commit_list(commit->parents); } return authors;