SSL_SESSION_free(3)

NAME
SSL_SESSION_free - free an allocated SSL_SESSION structure

SYNOPSIS

 #include <openssl/ssl.h>
 void SSL_SESSION_free(SSL_SESSION *session);

DESCRIPTION
SSL_SESSION_free() decrements the reference count of session and removes the SSL_SESSION structure pointed to by session and frees up the allocated memory, if the the reference count has reached 0.

RETURN VALUES
SSL_SESSION_free() does not provide diagnostic information.

ssl(3), SSL_get_session(3)