From 3c2ad358ef3ec9d930446799bd0f73db99b6a7c9 Mon Sep 17 00:00:00 2001 From: Aiken Harris Date: Wed, 25 Mar 2026 14:11:24 +0100 Subject: [PATCH] Implement MM::KernelPool::FreeProcessorStructures --- xtoskrnl/mm/kpool.cc | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/xtoskrnl/mm/kpool.cc b/xtoskrnl/mm/kpool.cc index c6d5a13c..0144efc2 100644 --- a/xtoskrnl/mm/kpool.cc +++ b/xtoskrnl/mm/kpool.cc @@ -206,5 +206,10 @@ XTAPI VOID MM::KernelPool::FreeProcessorStructures(IN PVOID StructuresData) { - UNIMPLEMENTED; + /* Check if the provided pointer is valid */ + if(StructuresData != NULLPTR) + { + /* Release the contiguous memory block back */ + MM::Allocator::FreePool(StructuresData, 0); + } }