1KFREE(9) Memory Management in Linux KFREE(9)
23
4
NAME
6kfree - free previously allocated memory
7
SYNOPSIS
9void kfree(const void * objp);
10
ARGUMENTS
12objp
13pointer returned by kmalloc.
14
DESCRIPTION
16If objp is NULL, no operation is performed.
1718
DonĀ“t free memory not originally allocated by kmalloc or you will run
19into trouble.
20
COPYRIGHT
22Kernel Hackers Manual 2.6. June 2019 KFREE(9)