[#CRYPTO_EX_free]
= CRYPTO&lowbar;EX&lowbar;free
:mrdocs:

Callback invoked when an ex&lowbar;data slot is freed or the owning object is destroyed&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
typedef void CRYPTO&lowbar;EX&lowbar;free(void*, void*, xref:CRYPTO_EX_DATA.adoc[CRYPTO&lowbar;EX&lowbar;DATA]*, int, long, void*);
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *parent*
| Object that owns the CRYPTO&lowbar;EX&lowbar;DATA&period;
| *ptr*
| Pointer value previously stored in the slot&period;
| *ad*
| Ex&hyphen;data bag for `parent&period;`
| *idx*
| Ex&hyphen;data index being cleared&period;
| *argl*
| Long argument registered with CRYPTO&lowbar;get&lowbar;ex&lowbar;new&lowbar;index()&period;
| *argp*
| Pointer argument registered with CRYPTO&lowbar;get&lowbar;ex&lowbar;new&lowbar;index()&period;
|===


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