This commit is contained in:
lhodges1 2023-08-19 13:36:21 +10:00
parent 89e69f2cf8
commit 6203ebde15

View file

@ -8,7 +8,7 @@ VOID DriverUnload(
)
{
IoDeleteSymbolicLink( &DEVICE_SYMBOLIC_LINK );
IoDeleteDevice( &DriverObject->DeviceObject );
IoDeleteDevice( DriverObject->DeviceObject );
}
NTSTATUS DriverEntry(
@ -40,7 +40,7 @@ NTSTATUS DriverEntry(
if ( !NT_SUCCESS( status ) )
{
IoDeleteDevice( &DriverObject->DeviceObject );
IoDeleteDevice( DriverObject->DeviceObject );
return STATUS_FAILED_DRIVER_ENTRY;
}