[DXG] replace EngDeleteSemaphore with EngReleaseSemaphore in DdHmgLock! CORE-4490
authorSebastian Gasiorek <sebastian.gasiorek@reactos.org>
Wed, 15 Mar 2017 14:16:00 +0000 (14:16 +0000)
committerSebastian Gasiorek <sebastian.gasiorek@reactos.org>
Wed, 15 Mar 2017 14:16:00 +0000 (14:16 +0000)
svn path=/trunk/; revision=74174

reactos/win32ss/reactx/dxg/ddhmg.c

index a0fe425..f698cd1 100644 (file)
@@ -174,7 +174,7 @@ DdHmgLock(HANDLE DdHandle, UCHAR ObjectType, BOOLEAN LockOwned)
 
     if ( !LockOwned )
     {
-        EngDeleteSemaphore(ghsemHmgr);
+        EngReleaseSemaphore(ghsemHmgr);
     }
 
     return Object;