X-Git-Url: https://gitweb.ps.run/ps-cgit/blobdiff_plain/c34e28835bc06ea9f76f440909f59a697910e9e8..034e3c7d56ba71ce281886fe8525b16d4559fac1:/ui-stats.c diff --git a/ui-stats.c b/ui-stats.c index 7acd358..7272a61 100644 --- a/ui-stats.c +++ b/ui-stats.c @@ -241,7 +241,7 @@ static struct string_list collect_stats(const struct cgit_period *period) memset(&authors, 0, sizeof(authors)); while ((commit = get_revision(&rev)) != NULL) { add_commit(&authors, commit, period); - free_commit_buffer(commit); + free_commit_buffer(the_repository->parsed_objects, commit); free_commit_list(commit->parents); commit->parents = NULL; }