X-Git-Url: https://gitweb.ps.run/ps-cgit/blobdiff_plain/865afe0eb1b5e6485fe0f65472e6635266e393b1..2eea471a7821f1f8bf2a4ce61bb748dcb9f7fa17:/ui-stats.c 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) add_commit(&authors, commit, period); free_commit_buffer(commit); free_commit_list(commit->parents); + commit->parents = NULL; } return authors; }