Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
l10n: ko.po: Update Korean translation
[gitweb.git]
/
tree.c
diff --git
a/tree.c
b/tree.c
index dd69423d9a3c1e1b9dd83df729ede543bfedc90a..b224115e0f4d61368560eba406a04f0259b7c4f0 100644
(file)
--- a/
tree.c
+++ b/
tree.c
@@
-234,8
+234,7
@@
int parse_tree_gently(struct tree *item, int quiet_on_missing)
void free_tree_buffer(struct tree *tree)
{
- free(tree->buffer);
- tree->buffer = NULL;
+ FREE_AND_NULL(tree->buffer);
tree->size = 0;
tree->object.parsed = 0;
}