free static method

void free(
  1. Pointer<Void> ptr
)

Free memory allocated by RAC functions.

Implementation

static void free(Pointer<Void> ptr) {
  if (_lib == null || ptr == nullptr) return;
  _bindCoreFunctions();
  _racFree!(ptr);
}