Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Remove "refs" field from "struct object"
[gitweb.git]
/
builtin-log.c
diff --git
a/builtin-log.c
b/builtin-log.c
index f4d974a7b8bfa0472a110273edf62b34b90902fe..6afa66ce02bee9a0de4403e1bfb0eedb70c087df 100644
(file)
--- a/
builtin-log.c
+++ b/
builtin-log.c
@@
-40,6
+40,8
@@
static int cmd_log_wc(int argc, const char **argv, char **envp,
log_tree_commit(rev, commit);
free(commit->buffer);
commit->buffer = NULL;
+ free_commit_list(commit->parents);
+ commit->parents = NULL;
}
return 0;
}