free static method

void free(
  1. Pointer<Void> viewPointer
)

Implementation

static void free(ffi.Pointer<ffi.Void> viewPointer) {
  if (TRTCPlatform.isOhos && viewPointer != ffi.nullptr) {
    calloc.free(viewPointer);
  }
}