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