summaryrefslogtreecommitdiff
path: root/t/t3507-cherry-pick-conflict.sh
diff options
context:
space:
mode:
authorLibravatar Jeff King <peff@peff.net>2017-09-05 09:04:10 -0400
committerLibravatar Junio C Hamano <gitster@pobox.com>2017-09-06 18:06:26 +0900
commitfe6a01af8aa913fc23c1486251da6f6f08601816 (patch)
treea89f3e6e8fd50adc1814acb60cf840f0c61e3cc5 /t/t3507-cherry-pick-conflict.sh
parenttest-lib: set LSAN_OPTIONS to abort by default (diff)
downloadtgif-fe6a01af8aa913fc23c1486251da6f6f08601816.tar.xz
add: free leaked pathspec after add_files_to_cache()
After run_diff_files, we throw away the rev_info struct, including the pathspec that we copied into it, leaking the memory. this is probably not a big deal in practice. We usually only run this once per process, and the leak is proportional to the pathspec list we're already holding in memory. But it's still a leak, and it pollutes leak-checker output, making it harder to find important leaks. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t3507-cherry-pick-conflict.sh')
0 files changed, 0 insertions, 0 deletions