Releases the session object.
hcerr_t hc_session_free (hc_session_t *session);
This function releases the session object and recovers handles and memory for one connection.
session
IN: The session object to free.
HCERR_OK HCERR_BAD_REQUEST HCERR_OOM HCERR_NULL_SESSION HCERR_INVALID_SESSION