git://git.jankratochvil.net
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4d91663
)
ObInitializeObject(): Fixed missing init of 'ObjectHeader->Parent'
author
short
<>
Fri, 28 Mar 2003 09:49:38 +0000
(09:49 +0000)
committer
short
<>
Fri, 28 Mar 2003 09:49:38 +0000
(09:49 +0000)
ntoskrnl/ob/object.c
patch
|
blob
|
history
diff --git
a/ntoskrnl/ob/object.c
b/ntoskrnl/ob/object.c
index
915f481
..
4dd3915
100644
(file)
--- a/
ntoskrnl/ob/object.c
+++ b/
ntoskrnl/ob/object.c
@@
-55,6
+55,7
@@
VOID ObInitializeObject(POBJECT_HEADER ObjectHeader,
ObjectHeader->CloseInProcess = FALSE;
ObjectHeader->HandleCount = 0;
ObjectHeader->RefCount = 1;
+ ObjectHeader->Parent = NULL;
ObjectHeader->ObjectType = Type;
if (ObjectAttributes != NULL &&
ObjectAttributes->Attributes & OBJ_PERMANENT)