---
name: "kfree_const"
section: "9"
platform: "linux"
package: "linux-manual-4.9"
version: "4.9.228-1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/kfree_const"
---

# kfree\_const(9)

conditionally free memory

## NAME

kfree\_const - conditionally free memory

## SYNOPSIS

**void kfree\_const(const void \*** *x***);**

## ARGUMENTS

*x*

pointer to the memory

## DESCRIPTION

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

## COPYRIGHT
