iscsi\_context\_free(3) API Manual iscsi\_context\_free(3)

# [NAME](#NAME)

iscsi\_context\_free - Release the memory of struct iscsi\_context.

# [SYNOPSIS](#SYNOPSIS)

**void iscsi\_context\_free** **(struct iscsi\_context \*ctx);**

# [ARGUMENTS](#ARGUMENTS)

[ctx](#ctx)

Pointer of 'struct iscsi\_context'.

# [DESCRIPTION](#DESCRIPTION)

Release the memory of struct iscsi\_context, but the userdata memory defined via **iscsi\_context\_userdata\_set** will not be touched.

# [RETURN](#RETURN)

void

iscsi\_context\_free October 2026

---

Document: iscsi_context_free(3) from open-iscsi 2.1.13-r3 (Chainguard OS)
Source: https://github.com/open-iscsi/open-iscsi
