Freeing arrays

George Russell ger at tzi.de
Mon Apr 1 17:28:27 EST 2002


Sorry if this has been raised before, I don't really follow this list.

According to section 5.8 of the spec,  MarshalAlloc.free will "free a block
of memory that was allocated with malloc or mallocBytes".  Fine.  But will it
also free blocks of memory allocated by MarshalArray.mallocArray and friends?
Come to think of it, what about MarshalArray.reallocBytes?  Also, what is
the "realloc" function mentioned in the specification of reallocArray, or do you
mean reallocBytes?



More information about the FFI mailing list