diff options
Diffstat (limited to 'ui-stats.c')
-rw-r--r-- | ui-stats.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ui-stats.c b/ui-stats.c index 6f13c32..a264f6a 100644 --- a/ui-stats.c +++ b/ui-stats.c | |||
@@ -246,6 +246,7 @@ static struct string_list collect_stats(struct cgit_period *period) | |||
246 | add_commit(&authors, commit, period); | 246 | add_commit(&authors, commit, period); |
247 | free_commit_buffer(commit); | 247 | free_commit_buffer(commit); |
248 | free_commit_list(commit->parents); | 248 | free_commit_list(commit->parents); |
249 | commit->parents = NULL; | ||
249 | } | 250 | } |
250 | return authors; | 251 | return authors; |
251 | } | 252 | } |