[#BIO_free]
= BIO&lowbar;free
:mrdocs:

Free a single BIO (does not free BIOs linked after it in a chain)&period;

== Synopsis

Declared in `&lt;openssl&sol;bio&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int
BIO&lowbar;free(xref:BIO.adoc[BIO]* a);
----

== Description

To free an entire chain, use BIO&lowbar;free&lowbar;all() &sol; BIO&lowbar;vfree()&period;

== Return Value

1 on success, or 0 on failure&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *a*
| BIO to free&semi; NULL is ignored&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
