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

# [NAME](#NAME)

dmmp\_mpath\_array\_free - Free 'struct dmmp\_mpath' pointer array.

# [SYNOPSIS](#SYNOPSIS)

**void dmmp\_mpath\_array\_free** **(struct dmmp\_mpath \*\*dmmp\_mps,** **uint32\_t dmmp\_mp\_count);**

# [ARGUMENTS](#ARGUMENTS)

[dmmp\_mps](#dmmp_mps)

Pointer of 'struct dmmp\_mpath' array.

[dmmp\_mp\_count](#dmmp_mp_count)

uint32\_t, the size of 'dmmp\_mps' pointer array.

# [DESCRIPTION](#DESCRIPTION)

Free the 'dmmp\_mps' pointer array generated by **dmmp\_mpath\_array\_get**. If provided 'dmmp\_mps' pointer is NULL or dmmp\_mp\_count == 0, do nothing.

# [RETURN](#RETURN)

void

dmmp\_mpath\_array\_free June 2025

---

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