Fix a handle leak. Modified: trunk/reactos/lib/kernel32/file/volume.c _____
Modified: trunk/reactos/lib/kernel32/file/volume.c --- trunk/reactos/lib/kernel32/file/volume.c 2005-12-17 12:09:08 UTC (rev 20220) +++ trunk/reactos/lib/kernel32/file/volume.c 2005-12-17 12:13:06 UTC (rev 20221) @@ -946,6 +946,7 @@
else if (!NT_SUCCESS(Status)) { RtlFreeHeap(GetProcessHeap(), 0, MountPoint); + NtClose(FileHandle); SetLastErrorByStatus(Status); return FALSE; }