---
name: "iscsi_nodes_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_nodes_free"
---

# iscsi\_nodes\_free(3)

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

## NAME

iscsi\_nodes\_free - Free the memory of 'struct iscsi\_node' pointer array

## SYNOPSIS

**void iscsi\_nodes\_free** **(struct iscsi\_node \*\****nodes***,** **uint32\_t** *node\_count***);**

## ARGUMENTS

- nodes

  Pointer of 'struct iscsi\_node' pointer array.

- node\_count

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

## DESCRIPTION

Free the memory of 'iscsi\_node' pointer array generated by If provided 'nodes' pointer is NULL or 'node\_count' is 0, do nothing.

## RETURN

void
