status: don't hide tree closing
status: don't hide tree closing

It's not obvious that recurse_tree_entries or recurse_tree_entry
should free a resource that wasn't allocated by them. Do this
explicitely and plug a leak while we're at it.

Signed-off-by: Carlos Martín Nieto <eecb638c0e60875b4a70118790d5be43bb59c2d6@elego.de>

Aorjoa/libgit2_maked_lib,chiayolin/libgit2,zodiac/libgit2.js,chiayolin/libgit2,leoyanggit/libgit2,amyvmiwei/libgit2,mingyaaaa/libgit2,maxiaoqian/libgit2,raybrad/libit2,jeffhostetler/public_libgit2,nokiddin/libgit2,mrksrm/Mingijura,mcanthony/libgit2,mingyaaaa/libgit2,JIghtuse/libgit2,nacho/libgit2,maxiaoqian/libgit2,kenprice/libgit2,falqas/libgit2,stewid/libgit2,chiayolin/libgit2,yongthecoder/libgit2,yosefhackmon/libgit2,nokiddin/libgit2,Corillian/libgit2,sim0629/libgit2,magnus98/TEST,amyvmiwei/libgit2,jflesch/libgit2-mariadb,yosefhackmon/libgit2,spraints/libgit2,Snazz2001/libgit2,stewid/libgit2,whoisj/libgit2,ardumont/libgit2,Tousiph/Demo1,nokiddin/libgit2,JIghtuse/libgit2,iankronquist/libgit2,jflesch/libgit2-mariadb,Snazz2001/libgit2,stewid/libgit2,spraints/libgit2,claudelee/libgit2,dleehr/libgit2,Tousiph/Demo1,mingyaaaa/libgit2,magnus98/TEST,zodiac/libgit2.js,claudelee/libgit2,leoyanggit/libgit2,MrHacky/libgit2,magnus98/TEST,MrHacky/libgit2,jamieleecool/ptest,falqas/libgit2,evhan/libgit2,mrksrm/Mingijura,Tousiph/Demo1,whoisj/libgit2,Corillian/libgit2,kissthink/libgit2,Corillian/libgit2,linquize/libgit2,joshtriplett/libgit2,kissthink/libgit2,ardumont/libgit2,claudelee/libgit2,mrksrm/Mingijura,mcanthony/libgit2,raybrad/libit2,stewid/libgit2,rcorre/libgit2,jeffhostetler/public_libgit2,Snazz2001/libgit2,t0xicCode/libgit2,mcanthony/libgit2,claudelee/libgit2,spraints/libgit2,saurabhsuniljain/libgit2,sygool/libgit2,rcorre/libgit2,MrHacky/libgit2,mingyaaaa/libgit2,skabel/manguse,leoyanggit/libgit2,oaastest/libgit2,joshtriplett/libgit2,swisspol/DEMO-libgit2,skabel/manguse,nacho/libgit2,amyvmiwei/libgit2,raybrad/libit2,jamieleecool/ptest,kenprice/libgit2,iankronquist/libgit2,since2014/libgit2,sygool/libgit2,rcorre/libgit2,Tousiph/Demo1,iankronquist/libgit2,yosefhackmon/libgit2,whoisj/libgit2,leoyanggit/libgit2,kissthink/libgit2,JIghtuse/libgit2,iankronquist/libgit2,mcanthony/libgit2,since2014/libgit2,mhp/libgit2,linquize/libgit2,KTXSoftware/libgit2,evhan/libgit2,whoisj/libgit2,spraints/libgit2,jeffhostetler/public_libgit2,rcorre/libgit2,magnus98/TEST,leoyanggit/libgit2,Aorjoa/libgit2_maked_lib,swisspol/DEMO-libgit2,maxiaoqian/libgit2,Corillian/libgit2,dleehr/libgit2,raybrad/libit2,jflesch/libgit2-mariadb,MrHacky/libgit2,zodiac/libgit2.js,MrHacky/libgit2,t0xicCode/libgit2,dleehr/libgit2,KTXSoftware/libgit2,yongthecoder/libgit2,evhan/libgit2,sim0629/libgit2,JIghtuse/libgit2,Tousiph/Demo1,swisspol/DEMO-libgit2,oaastest/libgit2,joshtriplett/libgit2,Snazz2001/libgit2,claudelee/libgit2,chiayolin/libgit2,Corillian/libgit2,leoyanggit/libgit2,ardumont/libgit2,swisspol/DEMO-libgit2,sygool/libgit2,oaastest/libgit2,MrHacky/libgit2,ardumont/libgit2,rcorre/libgit2,sim0629/libgit2,swisspol/DEMO-libgit2,chiayolin/libgit2,Corillian/libgit2,saurabhsuniljain/libgit2,sygool/libgit2,maxiaoqian/libgit2,skabel/manguse,raybrad/libit2,skabel/manguse,ardumont/libgit2,mrksrm/Mingijura,swisspol/DEMO-libgit2,falqas/libgit2,skabel/manguse,falqas/libgit2,since2014/libgit2,kissthink/libgit2,kenprice/libgit2,since2014/libgit2,stewid/libgit2,Aorjoa/libgit2_maked_lib,sim0629/libgit2,chiayolin/libgit2,kenprice/libgit2,iankronquist/libgit2,mcanthony/libgit2,Tousiph/Demo1,joshtriplett/libgit2,yongthecoder/libgit2,yosefhackmon/libgit2,saurabhsuniljain/libgit2,nokiddin/libgit2,nacho/libgit2,since2014/libgit2,joshtriplett/libgit2,t0xicCode/libgit2,zodiac/libgit2.js,spraints/libgit2,ardumont/libgit2,mcanthony/libgit2,linquize/libgit2,nokiddin/libgit2,linquize/libgit2,mrksrm/Mingijura,amyvmiwei/libgit2,mhp/libgit2,maxiaoqian/libgit2,KTXSoftware/libgit2,Snazz2001/libgit2,sygool/libgit2,saurabhsuniljain/libgit2,jeffhostetler/public_libgit2,yosefhackmon/libgit2,KTXSoftware/libgit2,Snazz2001/libgit2,KTXSoftware/libgit2,mrksrm/Mingijura,iankronquist/libgit2,joshtriplett/libgit2,falqas/libgit2,dleehr/libgit2,magnus98/TEST,maxiaoqian/libgit2,mhp/libgit2,jflesch/libgit2-mariadb,since2014/libgit2,yongthecoder/libgit2,yongthecoder/libgit2,rcorre/libgit2,sim0629/libgit2,t0xicCode/libgit2,yongthecoder/libgit2,kissthink/libgit2,oaastest/libgit2,oaastest/libgit2,dleehr/libgit2,Aorjoa/libgit2_maked_lib,jeffhostetler/public_libgit2,jflesch/libgit2-mariadb,saurabhsuniljain/libgit2,nacho/libgit2,jflesch/libgit2-mariadb,saurabhsuniljain/libgit2,JIghtuse/libgit2,whoisj/libgit2,spraints/libgit2,claudelee/libgit2,kissthink/libgit2,jamieleecool/ptest,mhp/libgit2,mhp/libgit2,yosefhackmon/libgit2,stewid/libgit2,amyvmiwei/libgit2,linquize/libgit2,skabel/manguse,oaastest/libgit2,dleehr/libgit2,mingyaaaa/libgit2,KTXSoftware/libgit2,jamieleecool/ptest,jeffhostetler/public_libgit2,kenprice/libgit2,evhan/libgit2,magnus98/TEST,linquize/libgit2,mingyaaaa/libgit2,amyvmiwei/libgit2,t0xicCode/libgit2,Aorjoa/libgit2_maked_lib,t0xicCode/libgit2,whoisj/libgit2,zodiac/libgit2.js,kenprice/libgit2,JIghtuse/libgit2,falqas/libgit2,sygool/libgit2,nokiddin/libgit2,mhp/libgit2,sim0629/libgit2