pub unsafe fn free(buffer: *mut c_void)
This wraps libc::free and is only safe to call with a pointer value that is NULL or allocated through malloc / realloc.