summaryrefslogtreecommitdiff
path: root/t/t4012-diff-binary.sh
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2017-04-20 16:21:58 -0400
committerJunio C Hamano <gitster@pobox.com>2017-04-20 22:02:14 -0700
commit5d2993b6eabb0e0efdbe17bd43a3bec07a1670be (patch)
tree989c324d8025c74f4e8a510c09eb41c44162ad35 /t/t4012-diff-binary.sh
parent22e5ae5c8e6859e5670a2c6bbf5798778373144c (diff)
downloadgit-5d2993b6eabb0e0efdbe17bd43a3bec07a1670be.tar.gz
connect.c: fix leak in handle_ssh_variantsf/putty-w-args
When we see an error from split_cmdline(), we exit the function without freeing the copy of the command string we made. This was sort-of introduced by 22e5ae5c8 (connect.c: handle errors from split_cmdline, 2017-04-10). The leak existed before that, but before that commit fixed the bug, we could never trigger this else clause in the first place. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4012-diff-binary.sh')
0 files changed, 0 insertions, 0 deletions