Code

read-tree: stop leaking tree objects
authorJonathan Nieder <jrnieder@gmail.com>
Tue, 10 Aug 2010 03:33:44 +0000 (22:33 -0500)
committerJunio C Hamano <gitster@pobox.com>
Wed, 11 Aug 2010 16:58:18 +0000 (09:58 -0700)
commit1ce584b05843dfa8b0fe31ed3d75bddf1c29c4e0
tree0efcbf74ca34c65f5d743820b15eda18db61dbc4
parent59efba64ac144a8838a35ae687b8c5bb6cd43363
read-tree: stop leaking tree objects

The underlying problem is that the fill_tree_descriptor()
API is easy to misuse, and this patch does not fix that.

Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
unpack-trees.c