mirror of
https://github.com/reactos/reactos.git
synced 2024-11-19 13:33:42 +00:00
(customize-variable 'indent-tabs-mode) ; nil
svn path=/trunk/; revision=28416
This commit is contained in:
parent
7acf61114d
commit
d149b737c0
1 changed files with 5 additions and 5 deletions
|
@ -331,8 +331,8 @@ ObpIncrementHandleDataBase(IN POBJECT_HEADER ObjectHeader,
|
||||||
/* Insert a new entry */
|
/* Insert a new entry */
|
||||||
FreeEntry = ObpInsertHandleCount(ObjectHeader);
|
FreeEntry = ObpInsertHandleCount(ObjectHeader);
|
||||||
if (!FreeEntry) return STATUS_INSUFFICIENT_RESOURCES;
|
if (!FreeEntry) return STATUS_INSUFFICIENT_RESOURCES;
|
||||||
ASSERT(!FreeEntry->Process);
|
ASSERT(!FreeEntry->Process);
|
||||||
ASSERT(!FreeEntry->HandleCount);
|
ASSERT(!FreeEntry->HandleCount);
|
||||||
|
|
||||||
/* Fill it out */
|
/* Fill it out */
|
||||||
FreeEntry->Process = Process;
|
FreeEntry->Process = Process;
|
||||||
|
@ -377,8 +377,8 @@ ObpIncrementHandleDataBase(IN POBJECT_HEADER ObjectHeader,
|
||||||
/* Allocate one */
|
/* Allocate one */
|
||||||
FreeEntry = ObpInsertHandleCount(ObjectHeader);
|
FreeEntry = ObpInsertHandleCount(ObjectHeader);
|
||||||
if (!FreeEntry) return STATUS_INSUFFICIENT_RESOURCES;
|
if (!FreeEntry) return STATUS_INSUFFICIENT_RESOURCES;
|
||||||
ASSERT(!FreeEntry->Process);
|
ASSERT(!FreeEntry->Process);
|
||||||
ASSERT(!FreeEntry->HandleCount);
|
ASSERT(!FreeEntry->HandleCount);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Fill out the entry */
|
/* Fill out the entry */
|
||||||
|
@ -537,7 +537,7 @@ ObpDecrementHandleCount(IN PVOID ObjectBody,
|
||||||
{
|
{
|
||||||
/* Found it, get the process handle count */
|
/* Found it, get the process handle count */
|
||||||
ProcessHandleCount = HandleEntry->HandleCount--;
|
ProcessHandleCount = HandleEntry->HandleCount--;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Keep looping */
|
/* Keep looping */
|
||||||
|
|
Loading…
Reference in a new issue