---
name: "rdma_free_devices"
section: "3"
platform: "linux"
package: "rdma-core"
version: "65.0-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux", "freebsd"]
url: "https://new.carta.tech/rdma_free_devices"
---

# rdma\_free\_devices(3)

Frees the list of devices returned by rdma\_get\_devices.

## NAME

rdma\_free\_devices - Frees the list of devices returned by rdma\_get\_devices.

## SYNOPSIS

**#include \<rdma/rdma\_cma.h\>**

**void rdma\_free\_devices** **(struct ibv\_context \*\****list***);**

## ARGUMENTS

- list

  List of devices returned from rdma\_get\_devices.

## DESCRIPTION

Frees the device array returned by rdma\_get\_devices.

## RETURN VALUE

None

## SEE ALSO

[rdma\_get\_devices(3)](/rdma_get_devices/3.md)
