aboutsummaryrefslogtreecommitdiff
path: root/pack-objects.h
diff options
context:
space:
mode:
authorStefan Beller <sbeller@google.com>2015-02-17 10:06:14 -0800
committerJunio C Hamano <gitster@pobox.com>2015-02-17 10:42:43 -0800
commitbc1c2caa7397e7e462f0cc7631a40f6e7cd480ab (patch)
tree8ab424539192646dad2e9cbe4b6db3cd77f7e11c /pack-objects.h
parent64a03e970ab3ef0ce45d6bd3c1de1bff1de2beee (diff)
downloadgit-bc1c2caa7397e7e462f0cc7631a40f6e7cd480ab.tar.gz
git-bc1c2caa7397e7e462f0cc7631a40f6e7cd480ab.tar.xz
read-cache.c: free cache entry when refreshing fails
This fixes a memory leak when building the cache entries as refresh_cache_entry may decide to return NULL, but it does not free the cache entry structure which was passed in as an argument. Signed-off-by: Stefan Beller <sbeller@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'pack-objects.h')
0 files changed, 0 insertions, 0 deletions