iscsi_sessions_free - Man Page

Free the memory of 'struct iscsi_session' pointer array

Synopsis

void iscsi_sessions_free (struct iscsi_session **ses, uint32_t session_count);

Arguments

ses

Pointer of 'struct iscsi_session' pointer array.

session_count

uint32_t, the size of 'struct iscsi_session' pointer array.

Description

Free the memory of 'iscsi_session' pointer array generated by If provided 'ses' pointer is NULL or 'session_count' is 0, do nothing.

Return

void

Info

July 2024 API Manual