diff options
author | Johannes Schindelin <johannes.schindelin@gmx.de> | 2017-05-04 15:55:24 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-05-08 12:18:19 +0900 |
commit | 1a845a2c88e5b72acce33c9719ec36fcd0f9c877 (patch) | |
tree | 67101e9289f17325f5a8cef34904b773502f4b7f /t/lib-proto-disable.sh | |
parent | Merging a handful of topics before -rc2 (diff) | |
download | tgif-1a845a2c88e5b72acce33c9719ec36fcd0f9c877.tar.xz |
mingw: avoid memory leak when splitting PATH
In the (admittedly, concocted) case that PATH consists only of path
delimiters, we would leak the duplicated string.
Reported by Coverity.
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/lib-proto-disable.sh')
0 files changed, 0 insertions, 0 deletions