Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'dl/xdiff'
[gitweb.git]
/
git.c
diff --git
a/git.c
b/git.c
index d6f17db919ed0bcafbde0d7e3fa825692c66e8a8..78ed403ed121a84c3efe3a57fa7c24486d724953 100644
(file)
--- a/
git.c
+++ b/
git.c
@@
-391,6
+391,8
@@
static int cmd_log(int argc, const char **argv, char **envp)
if (do_diff)
log_tree_commit(&opt, commit);
shown = 1;
+ free(commit->buffer);
+ commit->buffer = NULL;
}
free(buf);
return 0;