Frees a foreign block that was allocated by Lisp, in LispWorks for Macintosh.
free-foreign-block frees a foreign block that was allocated by Lisp.
foreign-block must be a result of a call to allocate-foreign-block. It is an error to call
free-foreign-block on the result of foreign-block-copy or on a foreign block coming from foreign code.
Note that the function that was passed to allocate-foreign-block may still be invoked after
free-foreign-block, because the block may have been copied. See the discussion in Scope of invocation.
It is an error to call
free-foreign-block more than once on the same foreign-block.
free-foreign-block has no useful return value.
To free a foreign block that was allocated by foreign code, use foreign-block-release.
free-foreign-block is implemented in LispWorks for Macintosh only.
LispWorks Foreign Language Interface User Guide and Reference Manual - 29 Sep 2017