Commit in reactos/ntoskrnl/io on MAIN
driver.c+3-31.42 -> 1.43
- I accidently ommited two '*' and caused a random crashes when DriverEntry didn't return STATUS_SUCCESS.

reactos/ntoskrnl/io
driver.c 1.42 -> 1.43
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;
    }
 
CVSspam 0.2.8