projects
/
reactos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[NTOSKRNL]
[reactos.git]
/
reactos
/
ntoskrnl
/
se
/
token.c
diff --git
a/reactos/ntoskrnl/se/token.c
b/reactos/ntoskrnl/se/token.c
index
e9ba931
..
4c6119a
100644
(file)
--- a/
reactos/ntoskrnl/se/token.c
+++ b/
reactos/ntoskrnl/se/token.c
@@
-294,6
+294,9
@@
SeDeassignPrimaryToken(PEPROCESS Process)
/* Mark the Old Token as free */
OldToken->TokenInUse = 0;
+
+ /* Dereference the Token */
+ ObDereferenceObject(OldToken);
}
static ULONG