reactos/ntoskrnl/io
diff -u -r1.42 -r1.43
--- driver.c 28 Mar 2004 17:01:10 -0000 1.42
+++ driver.c 28 Mar 2004 17:08:55 -0000 1.43
@@ -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 @@
Status = DriverEntry(*DriverObject, &RegistryKey);
if (!NT_SUCCESS(Status))
{
- ObMakeTemporaryObject(DriverObject);
- ObDereferenceObject(DriverObject);
+ ObMakeTemporaryObject(*DriverObject);
+ ObDereferenceObject(*DriverObject);
return Status;
}