Fix a cut & paste error.

svn path=/trunk/; revision=20220
This commit is contained in:
Filip Navara 2005-12-17 12:09:08 +00:00
parent e4556f6060
commit c75e5ec7d3

View file

@ -991,11 +991,12 @@ GetVolumeNameForVolumeMountPointW(
}
else
{
RtlFreeHeap(GetProcessHeap(), 0, MountPoints);
SetLastError(ERROR_FILENAME_EXCED_RANGE);
Result = FALSE;
}
RtlFreeHeap(GetProcessHeap(), 0, MountPoints);
return Result;
}
}