]> git.cameronkatri.com Git - cgit.git/blobdiff - ui-stats.c
git: update to v2.2.2
[cgit.git] / ui-stats.c
index 6f13c32e36efe2beca2e730191f738aad7bd7f11..a264f6ae468df68da389fca429fd5a1ddbdac4eb 100644 (file)
@@ -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;
 }