mirror of
https://github.com/reactos/reactos.git
synced 2025-08-02 13:45:56 +00:00
Fix a handle leak.
svn path=/trunk/; revision=20221
This commit is contained in:
parent
c75e5ec7d3
commit
e25fc6f865
1 changed files with 1 additions and 0 deletions
|
@ -946,6 +946,7 @@ GetVolumeNameForVolumeMountPointW(
|
|||
else if (!NT_SUCCESS(Status))
|
||||
{
|
||||
RtlFreeHeap(GetProcessHeap(), 0, MountPoint);
|
||||
NtClose(FileHandle);
|
||||
SetLastErrorByStatus(Status);
|
||||
return FALSE;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue