diff options
Diffstat (limited to 'ui-stats.c')
-rw-r--r-- | ui-stats.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -244,7 +244,7 @@ static struct string_list collect_stats(struct cgit_period *period) | |||
244 | memset(&authors, 0, sizeof(authors)); | 244 | memset(&authors, 0, sizeof(authors)); |
245 | while ((commit = get_revision(&rev)) != NULL) { | 245 | while ((commit = get_revision(&rev)) != NULL) { |
246 | add_commit(&authors, commit, period); | 246 | add_commit(&authors, commit, period); |
247 | free(commit->buffer); | 247 | free_commit_buffer(commit); |
248 | free_commit_list(commit->parents); | 248 | free_commit_list(commit->parents); |
249 | } | 249 | } |
250 | return authors; | 250 | return authors; |