Frees a pointer allocated by this allocator.
void freePointer(ffi.Pointer<ffi.Void> ptr) { if (ptr == ffi.nullptr) { return; } malloc.free(ptr); }