mirror of
https://github.com/reactos/reactos.git
synced 2024-07-21 03:37:57 +00:00
Fix a handle leak.
svn path=/trunk/; revision=20221
This commit is contained in:
parent
c75e5ec7d3
commit
e25fc6f865
|
@ -946,6 +946,7 @@ GetVolumeNameForVolumeMountPointW(
|
|||
else if (!NT_SUCCESS(Status))
|
||||
{
|
||||
RtlFreeHeap(GetProcessHeap(), 0, MountPoint);
|
||||
NtClose(FileHandle);
|
||||
SetLastErrorByStatus(Status);
|
||||
return FALSE;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue