fix lock release

This commit is contained in:
lhodges1 2023-10-18 16:42:02 +11:00
parent c62f9e09ef
commit d8cffa75da

View file

@ -410,10 +410,7 @@ InsertApcContext(
* is attempted to start, ensuring that even if it holds
*/
if (InterlockedExchange(&driver_config.unload_in_progress, driver_config.unload_in_progress))
{
status = STATUS_ABANDONED;
goto end;
}
return STATUS_ABANDONED;
KeAcquireGuardedMutex(&driver_config.lock);