[][src]Function fluence_sdk_main::memory::dealloc

pub unsafe fn dealloc(ptr: NonNull<u8>, size: NonZeroUsize) -> MemResult<()>

Deallocates memory area for current memory pointer and size. Actually is just a wrapper for GlobalAlloc::dealloc.

Safety

See GlobalAlloc::dealloc.