mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 19:26:32 +00:00
- Release the acquired spinlock in IoUnregisterShutdownNotification(), spotted by Cameron Gutman.
svn path=/trunk/; revision=33961
This commit is contained in:
@@ -1359,6 +1359,9 @@ IoUnregisterShutdownNotification(PDEVICE_OBJECT DeviceObject)
|
||||
NextEntry = NextEntry->Flink;
|
||||
}
|
||||
|
||||
/* Release the shutdown lock */
|
||||
KeReleaseSpinLock(&ShutdownListLock, OldIrql);
|
||||
|
||||
/* Now remove the flag */
|
||||
DeviceObject->Flags &= ~DO_SHUTDOWN_REGISTERED;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user