From 7bacd8530f92c38deb39404556ec175e6d0bfa8a Mon Sep 17 00:00:00 2001 From: Jacek Caban Date: Wed, 6 Feb 2019 17:52:14 +0100 Subject: [PATCH] ntoskrnl.exe: Implement ExDeleteNPagedLookasideList. Signed-off-by: Jacek Caban Signed-off-by: Alexandre Julliard --- dlls/ntoskrnl.exe/ntoskrnl.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/dlls/ntoskrnl.exe/ntoskrnl.c b/dlls/ntoskrnl.exe/ntoskrnl.c index b0f9e6202f6..c3276c9507a 100644 --- a/dlls/ntoskrnl.exe/ntoskrnl.c +++ b/dlls/ntoskrnl.exe/ntoskrnl.c @@ -2032,7 +2032,12 @@ NTSTATUS WINAPI ExCreateCallback(PCALLBACK_OBJECT *obj, POBJECT_ATTRIBUTES attr, */ void WINAPI ExDeleteNPagedLookasideList( PNPAGED_LOOKASIDE_LIST lookaside ) { - FIXME("(%p) stub\n", lookaside); + void *entry; + + TRACE("(%p)\n", lookaside); + + while ((entry = RtlInterlockedPopEntrySList(&lookaside->L.u.ListHead))) + lookaside->L.u5.FreeEx(entry, (LOOKASIDE_LIST_EX*)lookaside); }