Merge branch 'sb/plug-leak-in-make-cache-entry'
authorJunio C Hamano <gitster@pobox.com>
Wed, 25 Feb 2015 23:40:21 +0000 (15:40 -0800)
committerJunio C Hamano <gitster@pobox.com>
Wed, 25 Feb 2015 23:40:21 +0000 (15:40 -0800)
commitb4e8fefc7f4c98769172c1ecb5bc10dab637cc5b
tree660336c553b42afe766a803970128c240a4a08b4
parentbe94b339b698cf3ac869ef9666b82b75032add3a
parentbc1c2caa7397e7e462f0cc7631a40f6e7cd480ab
Merge branch 'sb/plug-leak-in-make-cache-entry'

"update-index --refresh" used to leak when an entry cannot be
refreshed for whatever reason.

* sb/plug-leak-in-make-cache-entry:
  read-cache.c: free cache entry when refreshing fails
read-cache.c