From 0831947d6ce2aa150f22dbc5ae30839854fbc069 Mon Sep 17 00:00:00 2001 From: Filip Navara Date: Sun, 28 Mar 2004 17:08:55 +0000 Subject: [PATCH] - I accidently ommited two '*' and caused a random crashes when DriverEntry didn't return STATUS_SUCCESS. svn path=/trunk/; revision=8905 --- reactos/ntoskrnl/io/driver.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/reactos/ntoskrnl/io/driver.c b/reactos/ntoskrnl/io/driver.c index 6acda77fcec..d154dabd16c 100644 --- a/reactos/ntoskrnl/io/driver.c +++ b/reactos/ntoskrnl/io/driver.c @@ -1,4 +1,4 @@ -/* $Id: driver.c,v 1.42 2004/03/28 17:01:10 navaraf Exp $ +/* $Id: driver.c,v 1.43 2004/03/28 17:08:55 navaraf Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel @@ -560,8 +560,8 @@ IopInitializeDriverModule( Status = DriverEntry(*DriverObject, &RegistryKey); if (!NT_SUCCESS(Status)) { - ObMakeTemporaryObject(DriverObject); - ObDereferenceObject(DriverObject); + ObMakeTemporaryObject(*DriverObject); + ObDereferenceObject(*DriverObject); return Status; }