DOKK / manpages / debian 11 / libopeniscsiusr-dev / iscsi_sessions_free.3.en
iscsi_sessions_free(3) iSCSI Userspace API - libopeniscsiusr Manual iscsi_sessions_free(3)

iscsi_sessions_free - Free the memory of 'struct iscsi_session' pointer array

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

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

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

void

iscsi_sessions_free May 2021