Scroll to navigation

KFREE_CONST(9) Memory Management in Linux KFREE_CONST(9)

NAME

kfree_const - conditionally free memory

SYNOPSIS

void kfree_const(const void * x);

ARGUMENTS

const void * x

pointer to the memory

DESCRIPTION

Function calls kfree only if x is not in .rodata section.

COPYRIGHT

June 2017 Kernel Hackers Manual 4.11