X-Git-Url: https://gitweb.ps.run/ps-cgit/blobdiff_plain/68de710c1c0e9b823a156b1398643601a682fbf9..985fba80d06f37fdba5e72d738ce21ab5ab5a76d:/ui-stats.c?ds=inline 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; }