mirror of
https://github.com/reactos/reactos.git
synced 2024-06-03 11:11:54 +00:00
[NTOSKRNL]
Implement ObDeleteCapturedInsertInfo svn path=/trunk/; revision=61059
This commit is contained in:
parent
5d0bf1b23f
commit
e273d09737
|
@ -1276,8 +1276,18 @@ VOID
|
|||
NTAPI
|
||||
ObDeleteCapturedInsertInfo(IN PVOID Object)
|
||||
{
|
||||
UNIMPLEMENTED;
|
||||
return;
|
||||
POBJECT_HEADER ObjectHeader;
|
||||
PAGED_CODE();
|
||||
|
||||
/* Check if there is anything to free */
|
||||
ObjectHeader = OBJECT_TO_OBJECT_HEADER(Object);
|
||||
if ((ObjectHeader->Flags & OB_FLAG_CREATE_INFO) &&
|
||||
(ObjectHeader->ObjectCreateInfo != NULL))
|
||||
{
|
||||
/* Free the create info */
|
||||
ObpFreeObjectCreateInformation(ObjectHeader->ObjectCreateInfo);
|
||||
ObjectHeader->ObjectCreateInfo = NULL;
|
||||
}
|
||||
}
|
||||
|
||||
VOID
|
||||
|
|
Loading…
Reference in a new issue