提交 bb97a2a8 编写于 作者: J Junio C Hamano

Plug leak in Daniel's read-tree.

... and it is ready to be pushed out in the "master" branch.
Signed-off-by: NJunio C Hamano <junkio@cox.net>
上级 4d3fe0c5
......@@ -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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册