cygwin: Fix resource leak in readdir reparse point handling

Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
This commit is contained in:
Corinna Vinschen 2017-07-24 17:26:17 +02:00
parent d6cac3e1da
commit be1485191f
1 changed files with 1 additions and 1 deletions

View File

@ -216,8 +216,8 @@ readdir_check_reparse_point (POBJECT_ATTRIBUTES attr, bool remote)
ret = true;
}
}
NtClose (reph);
}
NtClose (reph);
}
return ret;
}