[NTOS:CM] Fix lock leak

Triggered by low available pool memory during kmtest ExPools.
This commit is contained in:
Timo Kreuzer 2023-09-20 23:21:10 +03:00
parent aa84645bcc
commit ed06c06dcb

View file

@ -176,6 +176,9 @@ SearchKcbList:
/* Now go back and search the list */ /* Now go back and search the list */
goto SearchKcbList; goto SearchKcbList;
} }
/* Release the allocation lock */
KeReleaseGuardedMutex(&CmpAllocBucketLock);
} }
/* Allocate a KCB only */ /* Allocate a KCB only */