]> git.cameronkatri.com Git - cgit.git/blobdiff - ui-stats.c
git: update to v2.25.0
[cgit.git] / ui-stats.c
index 7acd358d0f1ca7a137ae901481ae36b1d3374cfd..7272a61a2fff0b0c94f693b1680be3f9157fef1f 100644 (file)
@@ -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;
        }