[ros-diffs] [ion] 17232: It is generally considered a bad idea to
dereference an object after the reference failed..... this
fixes another wine test and avoids a bugcheck
ion at svn.reactos.com
ion at svn.reactos.com
Tue Aug 9 08:28:34 CEST 2005
It is generally considered a bad idea to dereference an object after the
reference failed..... this fixes another wine test and avoids a bugcheck
Modified: trunk/reactos/ntoskrnl/ps/query.c
_____
Modified: trunk/reactos/ntoskrnl/ps/query.c
--- trunk/reactos/ntoskrnl/ps/query.c 2005-08-09 06:23:16 UTC (rev
17231)
+++ trunk/reactos/ntoskrnl/ps/query.c 2005-08-09 06:28:23 UTC (rev
17232)
@@ -1233,9 +1233,9 @@
/* Shoult never occure if the data table is correct */
KEBUGCHECK(0);
}
+ ObDereferenceObject (Thread);
}
- ObDereferenceObject (Thread);
-
+
return Status;
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.reactos.org/pipermail/ros-diffs/attachments/20050809/70a02d49/attachment.html
More information about the Ros-diffs
mailing list