summaryrefslogtreecommitdiff
path: root/contrib/examples/git-svnimport.txt
diff options
context:
space:
mode:
authorLibravatar Stefan Beller <sbeller@google.com>2015-02-17 10:06:14 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2015-02-17 10:42:43 -0800
commitbc1c2caa7397e7e462f0cc7631a40f6e7cd480ab (patch)
tree8ab424539192646dad2e9cbe4b6db3cd77f7e11c /contrib/examples/git-svnimport.txt
parentMerge branch 'maint-1.8.5' into maint-1.9 (diff)
downloadtgif-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 'contrib/examples/git-svnimport.txt')
0 files changed, 0 insertions, 0 deletions