Re: [PATCH v3 01/25] mingw: avoid memory leak when splitting PATH
- From
René Scharfe <l.s.r@web.de>
- Date
- May 3, 2017, 19:48 UTC
- Message-ID
- <789a242b-7369-f24c-0b92-09f415f9fcb5@web.de>
- In-Reply-To
- <10fc0a4a37b4167f49c967ece08f531cb1e8d6b1.1493740497.git.johannes.schindelin@gmx.de>
Am 02.05.2017 um 18:00 schrieb Johannes Schindelin:
> In the (admittedly, concocted) case that PATH consists only of colons, we > would leak the duplicated string.
Nit: It's about semicolons, right? At least that's what get_path_split is searching for. Or is there some kind of translation going on?
René