Package wasi exports essentials from the wasm client-side for working with wasm from the host.
It exports a "malloc" func to let hosts allocate memory within the wasm module.
Free releases the reference to the malloc-ed memory. Since Go does not offer manual memory management
Free does not actively release memory but allows drops the global reference to the memory so that GC can reclaim it if necessary.