#[unsafe(no_mangle)]pub unsafe fn dealloc_with_len(ptr: i32, len: i32)
de-allocating the memory
This function is unsafe because it dereferences the pointer. There is no way to make this function unsafe.