From 13399434738e0173884188c4b6d7cd26b7f6cc9e 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 c6d5a13..0144efc 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); + } }