projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c2a85cd
)
It is generally considered a bad idea to dereference an object after the reference...
author
Alex Ionescu
<aionescu@gmail.com>
Tue, 9 Aug 2005 06:28:23 +0000
(06:28 +0000)
committer
Alex Ionescu
<aionescu@gmail.com>
Tue, 9 Aug 2005 06:28:23 +0000
(06:28 +0000)
svn path=/trunk/; revision=17232
reactos/ntoskrnl/ps/query.c
patch
|
blob
|
history
diff --git
a/reactos/ntoskrnl/ps/query.c
b/reactos/ntoskrnl/ps/query.c
index
3e0b252
..
c42ee05
100644
(file)
--- a/
reactos/ntoskrnl/ps/query.c
+++ b/
reactos/ntoskrnl/ps/query.c
@@
-1233,9
+1233,9
@@
NtSetInformationThread (IN HANDLE ThreadHandle,
/* Shoult never occure if the data table is correct */
KEBUGCHECK(0);
}
+ ObDereferenceObject (Thread);
}
- ObDereferenceObject (Thread);
-
+
return Status;
}