projects
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4d3fe0c
)
Plug leak in Daniel's read-tree.
author
Junio C Hamano
<junkio@cox.net>
Sun, 11 Sep 2005 01:14:14 +0000
(18:14 -0700)
committer
Junio C Hamano
<junkio@cox.net>
Sun, 11 Sep 2005 01:27:42 +0000
(18:27 -0700)
... and it is ready to be pushed out in the "master" branch.
Signed-off-by: Junio C Hamano <junkio@cox.net>
read-tree.c
patch
|
blob
|
history
diff --git
a/read-tree.c
b/read-tree.c
index 3808d2398db1222f5f5e5da0610d8efaae676784..9ace5bb0ab65cd2c0abb98e333972429e4de0dd0 100644
(file)
--- a/
read-tree.c
+++ b/
read-tree.c
@@
-221,6
+221,7
@@
static int unpack_trees_rec(struct tree_entry_list **posns, int len,
if (unpack_trees_rec(subposns, len, newbase, fn,
indpos))
return -1;
+ free(newbase);
}
free(subposns);
free(src);