[#CRYPTO_secure_clear_free]
= CRYPTO&lowbar;secure&lowbar;clear&lowbar;free
:mrdocs:

Clear `num` bytes at `ptr` then free a secure&hyphen;heap allocation&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
CRYPTO&lowbar;secure&lowbar;clear&lowbar;free(
    void* ptr,
    size&lowbar;t num,
    char const* file,
    int line);
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *ptr*
| Secure allocation to clear and free, or NULL&period;
| *num*
| Number of bytes at `ptr` to zero before freeing&period;
| *file*
| Source file name for tracking (usually *FILE*)&period;
| *line*
| Source line for tracking (usually *LINE*)&period;
|===


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