Author: sginsberg
Date: Sun Sep 14 08:20:36 2008
New Revision: 36237
URL:
http://svn.reactos.org/svn/reactos?rev=36237&view=rev
Log:
- Don't dereference the debug object when we are supposed to reference it
Modified:
trunk/reactos/ntoskrnl/dbgk/dbgkobj.c
Modified: trunk/reactos/ntoskrnl/dbgk/dbgkobj.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/dbgk/dbgkobj.c?re…
==============================================================================
--- trunk/reactos/ntoskrnl/dbgk/dbgkobj.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/dbgk/dbgkobj.c [iso-8859-1] Sun Sep 14 08:20:36 2008
@@ -1262,7 +1262,7 @@
PSF_NO_DEBUG_INHERIT_BIT | PSF_CREATE_REPORTED_BIT);
/* Reference the debug object */
- ObDereferenceObject(DebugObject);
+ ObReferenceObject(DebugObject);
}
}