diff options
author | Stefan Beller <sbeller@google.com> | 2015-02-17 10:06:14 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2015-02-17 10:42:43 -0800 |
commit | bc1c2caa7397e7e462f0cc7631a40f6e7cd480ab (patch) | |
tree | 8ab424539192646dad2e9cbe4b6db3cd77f7e11c /INSTALL | |
parent | Merge branch 'maint-1.8.5' into maint-1.9 (diff) | |
download | tgif-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 'INSTALL')
0 files changed, 0 insertions, 0 deletions