dmmp\_context\_free(3) Device Mapper Multipath API - libdmmp Manual dmmp\_context\_free(3)

# [NAME](#NAME)

dmmp\_context\_free - Release the memory of struct dmmp\_context.

# [SYNOPSIS](#SYNOPSIS)

**void dmmp\_context\_free** **(struct dmmp\_context \*ctx);**

# [ARGUMENTS](#ARGUMENTS)

[ctx](#ctx)

Pointer of 'struct dmmp\_context'.

# [DESCRIPTION](#DESCRIPTION)

Release the memory of struct dmmp\_context, but the userdata memory defined via **dmmp\_context\_userdata\_set** will not be touched.

# [RETURN](#RETURN)

void

dmmp\_context\_free June 2025

---

Document: dmmp_context_free(3) from multipath-tools 0.15.1-r0 (Chainguard OS)
Source: https://github.com/opensvc/multipath-tools
