CRYPTO_secure_free

Free memory previously allocated from the secure heap.

Synopsis

Declared in <openssl/crypto.h>

void
CRYPTO_secure_free(
    void* ptr,
    char const* file,
    int line);

Parameters

NameDescription
ptrPointer returned by CRYPTO_secure_malloc(), or NULL.
fileSource file name recorded for diagnostics (usually FILE).
lineSource line recorded for diagnostics (usually LINE).