ui-stats.c: set parent pointer to NULL after freeing it We do this everywhere else, so we should be doing it here as well. Signed-off-by: John Keeping <john@keeping.me.uk>
John Keeping john@keeping.me.uk
Sun, 27 Jul 2014 11:56:20 +0100
1 files changed,
1 insertions(+),
0 deletions(-)
jump to
M
ui-stats.c
→
ui-stats.c
@@ -246,6 +246,7 @@ while ((commit = get_revision(&rev)) != NULL) {
add_commit(&authors, commit, period); free_commit_buffer(commit); free_commit_list(commit->parents); + commit->parents = NULL; } return authors; }