re-unbreak handling of symlinks on Windows

The repair from commit 046503de88 was lost in 98a78add9f.
This commit is contained in:
Matthew Flatt 2017-09-07 08:57:04 +01:00
parent 0d59486839
commit 94cee519e1

View File

@ -444,6 +444,7 @@ static int UNC_stat(rktio_t *rktio, const char *dirname, int *flags, int *isdir,
}
do {
init_procs();
if (dest) free(dest);
dest_len = len + 1;
dest = malloc(dest_len);