diff options
Diffstat (limited to 'ui-stats.c')
-rw-r--r-- | ui-stats.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; } |