---
name: "iscsi_ifaces_free"
section: "3"
platform: "linux"
package: "open-iscsi"
version: "2.1.13-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/iscsi_ifaces_free"
---

# iscsi\_ifaces\_free(3)

Free the memory of 'struct iscsi\_iface' pointer array

## NAME

iscsi\_ifaces\_free - Free the memory of 'struct iscsi\_iface' pointer array

## SYNOPSIS

**void iscsi\_ifaces\_free** **(struct iscsi\_iface \*\****ifaces***,** **uint32\_t** *iface\_count***);**

## ARGUMENTS

- ifaces

  Pointer of 'struct iscsi\_iface' pointer array.

- iface\_count

  uint32\_t, the size of 'struct iscsi\_iface' pointer array.

## DESCRIPTION

Free the memory of 'iscsi\_iface' pointer array generated by If provided 'ifaces' pointer is NULL or 'iface\_count' is 0, do nothing.

## RETURN

void
