Skip to content

Commit

Permalink
Plug leak in Daniel's read-tree.
Browse files Browse the repository at this point in the history
... and it is ready to be pushed out in the "master" branch.

Signed-off-by: Junio C Hamano <junkio@cox.net>
  • Loading branch information
Junio C Hamano committed Sep 11, 2005
1 parent 4d3fe0c commit bb97a2a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions read-tree.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit bb97a2a

Please sign in to comment.