summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ui-stats.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/ui-stats.c b/ui-stats.c
index 7acd358..2088077 100644
--- a/ui-stats.c
+++ b/ui-stats.c
@@ -241,9 +241,6 @@ 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_list(commit->parents);
- commit->parents = NULL;
}
return authors;
}