---
name: "iscsi_context_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_context_free"
---

# iscsi\_context\_free(3)

Release the memory of struct iscsi\_context.

## NAME

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

## SYNOPSIS

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

## ARGUMENTS

- ctx

  Pointer of 'struct iscsi\_context'.

## DESCRIPTION

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

## RETURN

void
