read-cache: free cache entry in add_to_index in case of early return
authorStefan Beller <sbeller@google.com>
Sat, 21 Mar 2015 00:28:00 +0000 (17:28 -0700)
committerJunio C Hamano <gitster@pobox.com>
Sun, 22 Mar 2015 19:11:25 +0000 (12:11 -0700)
commit2d9426b...49335c1a39be7ea7416094e944bfe63c
tree804bff7...de68211cdea205d565cbd63abf9bf4a4copy hash to clipboard (tree)
parentfd2014d...2b3a4fb865d99e9a7943caa08082cadacopy hash to clipboard (diff)
read-cache.c