Fix a cut & paste error.
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:05:55 UTC
(rev 20219)
+++ trunk/reactos/lib/kernel32/file/volume.c 2005-12-17 12:09:08 UTC
(rev 20220)
@@ -991,11 +991,12 @@
}
else
{
- RtlFreeHeap(GetProcessHeap(), 0, MountPoints);
SetLastError(ERROR_FILENAME_EXCED_RANGE);
Result = FALSE;
}
+ RtlFreeHeap(GetProcessHeap(), 0, MountPoints);
+
return Result;
}
}