---
name: "dmmp_mpath_array_free"
section: "3"
platform: "linux"
package: "multipath-tools"
version: "0.15.1-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/dmmp_mpath_array_free"
---

# dmmp\_mpath\_array\_free(3)

Free 'struct dmmp\_mpath' pointer array.

## NAME

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

## SYNOPSIS

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

## ARGUMENTS

- dmmp\_mps

  Pointer of 'struct dmmp\_mpath' array.

- dmmp\_mp\_count

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

## 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

void
