mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
- I accidently ommited two '*' and caused a random crashes when DriverEntry didn't return STATUS_SUCCESS.
svn path=/trunk/; revision=8905
This commit is contained in:
parent
c05238d39f
commit
0831947d6c
1 changed files with 3 additions and 3 deletions
|
@ -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
|
* COPYRIGHT: See COPYING in the top level directory
|
||||||
* PROJECT: ReactOS kernel
|
* PROJECT: ReactOS kernel
|
||||||
|
@ -560,8 +560,8 @@ IopInitializeDriverModule(
|
||||||
Status = DriverEntry(*DriverObject, &RegistryKey);
|
Status = DriverEntry(*DriverObject, &RegistryKey);
|
||||||
if (!NT_SUCCESS(Status))
|
if (!NT_SUCCESS(Status))
|
||||||
{
|
{
|
||||||
ObMakeTemporaryObject(DriverObject);
|
ObMakeTemporaryObject(*DriverObject);
|
||||||
ObDereferenceObject(DriverObject);
|
ObDereferenceObject(*DriverObject);
|
||||||
return Status;
|
return Status;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue