fixed error codes returned when memory allocations failed
Modified: trunk/reactos/lib/rtl/bootdata.c
_____
Modified: trunk/reactos/lib/rtl/bootdata.c
--- trunk/reactos/lib/rtl/bootdata.c 2005-12-18 00:00:18 UTC (rev
20236)
+++ trunk/reactos/lib/rtl/bootdata.c 2005-12-18 00:05:08 UTC (rev
20237)
@@ -48,7 +48,7 @@
TAG('S', 'e', 'S', 'd'));
if (AbsSD == NULL)
{
- Status = STATUS_INSUFFICIENT_RESOURCES;
+ Status = STATUS_NO_MEMORY;
goto Cleanup;
}
@@ -66,7 +66,7 @@
TAG('S', 'e', 'A', 'c'));
if (Dacl == NULL)
{
- Status = STATUS_INSUFFICIENT_RESOURCES;
+ Status = STATUS_NO_MEMORY;
goto Cleanup;
}
@@ -165,7 +165,7 @@
TAG('S', 'e', 'S', 'd'));
if (RelSD == NULL)
{
- Status = STATUS_INSUFFICIENT_RESOURCES;
+ Status = STATUS_NO_MEMORY;
goto Cleanup;
}
@@ -300,7 +300,7 @@
TAG('S', 'e', 'S',
'd'));
if (AbsSD == NULL)
{
- Status = STATUS_INSUFFICIENT_RESOURCES;
+ Status = STATUS_NO_MEMORY;
goto Cleanup;
}
@@ -360,6 +360,7 @@
TAG('S', 'e', 'S',
'd'));
if (NewRelSD == NULL)
{
+ Status = STATUS_NO_MEMORY;
goto Cleanup;
}