mirror of
https://github.com/reactos/reactos.git
synced 2024-10-04 16:36:11 +00:00
- Release the acquired spinlock in IoUnregisterShutdownNotification(), spotted by Cameron Gutman.
svn path=/trunk/; revision=33961
This commit is contained in:
parent
ddd1764f85
commit
17f5df55c4
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue