MCPcopy Create free account
hub / github.com/StephanvanSchaik/windows-kernel-rs / dealloc

Method dealloc

windows-kernel-rs/src/allocator.rs:75–77  ·  view source on GitHub ↗

Uses [`ExFreePool`] to free allocated memory.

(&self, ptr: *mut u8, _layout: Layout)

Source from the content-addressed store, hash-verified

73
74 /// Uses [`ExFreePool`] to free allocated memory.
75 unsafe fn dealloc(&self, ptr: *mut u8, _layout: Layout) {
76 ExFreePool(ptr as _)
77 }
78}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected