diff options
author | Rich Salz <rsalz@openssl.org> | 2015-03-25 11:31:18 -0400 |
---|---|---|
committer | Rich Salz <rsalz@openssl.org> | 2015-03-25 11:31:18 -0400 |
commit | ca3a82c3b364e1e584546f0f3bbb938b0b472580 (patch) | |
tree | 06c73d297f19629c1bf56bbf06dd2d443d4ac78f /doc | |
parent | 2011b169fa90edd4d986e7dbbd3d64587d316a22 (diff) | |
download | openssl-ca3a82c3b364e1e584546f0f3bbb938b0b472580.tar.gz |
free NULL cleanup
This commit handles BIO_ACCEPT_free BIO_CB_FREE BIO_CONNECT_free
BIO_free BIO_free_all BIO_vfree
Reviewed-by: Matt Caswell <matt@openssl.org>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/crypto/BIO_new.pod | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/doc/crypto/BIO_new.pod b/doc/crypto/BIO_new.pod index 2a245fc8de..76679f3da4 100644 --- a/doc/crypto/BIO_new.pod +++ b/doc/crypto/BIO_new.pod @@ -21,13 +21,16 @@ The BIO_new() function returns a new BIO using method B<type>. BIO_set() sets the method of an already existing BIO. BIO_free() frees up a single BIO, BIO_vfree() also frees up a single BIO -but it does not return a value. Calling BIO_free() may also have some effect +but it does not return a value. +If B<a> is NULL nothing is done. +Calling BIO_free() may also have some effect on the underlying I/O structure, for example it may close the file being referred to under certain circumstances. For more details see the individual BIO_METHOD descriptions. BIO_free_all() frees up an entire BIO chain, it does not halt if an error occurs freeing up an individual BIO in the chain. +If B<a> is NULL nothing is done. =head1 RETURN VALUES |