OPENSSL_free function

  1. @RecordUse.new()
  2. @Native<Void Function(Pointer<Void> ptr)>(ffi.Pointer<ffi.Void>)>(symbol: 'bssl_dart_OPENSSL_free')
void OPENSSL_free(
  1. Pointer<Void> ptr
)

OPENSSL_free does nothing if ptr is NULL. Otherwise it zeros out the memory allocated at ptr and frees it along with the private data. It must only be used on ptr values obtained from OPENSSL_malloc

Implementation

@meta.RecordUse()
@ffi.Native<ffi.Void Function(ffi.Pointer<ffi.Void>)>(
  symbol: 'bssl_dart_OPENSSL_free',
)
external void OPENSSL_free(
  ffi.Pointer<ffi.Void> ptr,
);