KFREE(9) Memory Management in Linux KFREE(9)NAMEkfree - free previously allocated memory
SYNOPSIS
void kfree(const void * objp);
ARGUMENTS
objp
pointer returned by kmalloc.
DESCRIPTION
If objp is NULL, no operation is performed.
DonĀ“t free memory not originally allocated by kmalloc or you will run
into trouble.
COPYRIGHTKernel Hackers Manual 2.6. November 2013 KFREE(9)