Plug leak in Daniel's read-tree.
... and it is ready to be pushed out in the "master" branch. Signed-off-by: Junio C Hamano <junkio@cox.net>maint
parent
4d3fe0c5f3
commit
bb97a2a804
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue