aboutsummaryrefslogtreecommitdiffstats
path: root/ui-stats.c
diff options
context:
space:
mode:
Diffstat (limited to 'ui-stats.c')
-rw-r--r--ui-stats.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/ui-stats.c b/ui-stats.c
index 8b7e70c..6d0296d 100644
--- a/ui-stats.c
+++ b/ui-stats.c
@@ -241,8 +241,7 @@ static struct string_list collect_stats(const struct cgit_period *period)
241 memset(&authors, 0, sizeof(authors)); 241 memset(&authors, 0, sizeof(authors));
242 while ((commit = get_revision(&rev)) != NULL) { 242 while ((commit = get_revision(&rev)) != NULL) {
243 add_commit(&authors, commit, period); 243 add_commit(&authors, commit, period);
244 free_commit_buffer(the_repository->parsed_objects, commit); 244 release_commit_memory(the_repository->parsed_objects, commit);
245 free_commit_list(commit->parents);
246 commit->parents = NULL; 245 commit->parents = NULL;
247 } 246 }
248 return authors; 247 return authors;