Browse Source

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
Junio C Hamano 20 years ago
parent
commit
bb97a2a804
  1. 1
      read-tree.c

1
read-tree.c

@ -221,6 +221,7 @@ static int unpack_trees_rec(struct tree_entry_list **posns, int len, @@ -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…
Cancel
Save