As discussed recently on openssl-users.
[openssl.git] / doc / ssl / SSL_SESSION_free.pod
1 =pod
2
3 =head1 NAME
4
5 SSL_SESSION_free - free an allocated SSL_SESSION structure
6
7 =head1 SYNOPSIS
8
9  #include <openssl/ssl.h>
10
11  void SSL_SESSION_free(SSL_SESSION *session);
12
13 =head1 DESCRIPTION
14
15 SSL_SESSION_free() decrements the reference count of B<session> and removes
16 the B<SSL_SESSION> structure pointed to by B<session> and frees up the allocated
17 memory, if the the reference count has reached 0.
18
19 =head1 RETURN VALUES
20
21 SSL_SESSION_free() does not provide diagnostic information.
22
23 =head1 SEE ALSO
24
25 L<ssl(3)|ssl(3)>, L<SSL_get_session(3)|SSL_get_session(3)>
26
27 =cut