- Reimplement Fast Mutex implementation in HAL/NT to be compatible with the real...
[reactos.git] / reactos / subsys / win32k / eng / driverobj.c
index e8916e9..59887c7 100644 (file)
@@ -166,7 +166,7 @@ EngUnlockDriverObj ( IN HDRVOBJ hdo )
 {
   PDRIVERGDI DrvObjInt = ObjToGDI((PDRIVEROBJ)hdo, DRIVER);
 
-  ExReleaseFastMutex(&DrvObjInt->Lock);
+  ExReleaseFastMutexUnsafeAndLeaveCriticalRegion(&DrvObjInt->Lock);
   return TRUE;
 }