[NTOS:CM] Fix lock leak

Triggered by low available pool memory during kmtest ExPools.
This commit is contained in:
Timo Kreuzer
2023-09-23 18:34:00 +03:00
parent aa84645bcc
commit ed06c06dcb
+3
View File
@@ -176,6 +176,9 @@ SearchKcbList:
/* Now go back and search the list */
goto SearchKcbList;
}
/* Release the allocation lock */
KeReleaseGuardedMutex(&CmpAllocBucketLock);
}
/* Allocate a KCB only */