Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Documentation: Point to gitcli(7) from git(1)
[gitweb.git]
/
builtin-cat-file.c
diff --git
a/builtin-cat-file.c
b/builtin-cat-file.c
index bd343efae7d6cc6fddef4df5c3433b97bd640d3c..880e75af5e1951689a417aa47e64f99a20d46ae6 100644
(file)
--- a/
builtin-cat-file.c
+++ b/
builtin-cat-file.c
@@
-181,6
+181,7
@@
static int batch_one_object(const char *obj_name, int print_contents)
write_or_die(1, contents, size);
printf("\n");
fflush(stdout);
+ free(contents);
}
return 0;