Re: [PATCH 0/3] fix memory leak in git-am

2017-04-26 Thread Junio C Hamano
Jeff King writes: > This was noticed by Coverity. The leak isn't new, but I think was > "re-found" by Coverity because some nearby code did an unrelated > s/sha1/oid/ change, throwing off its heuristics. > > I also checked whether this was in Dscho's big pack of Coverity fixups > from earlier tod

[PATCH 0/3] fix memory leak in git-am

2017-04-26 Thread Jeff King
This was noticed by Coverity. The leak isn't new, but I think was "re-found" by Coverity because some nearby code did an unrelated s/sha1/oid/ change, throwing off its heuristics. I also checked whether this was in Dscho's big pack of Coverity fixups from earlier today, and it's not. The first on