Frees a linked list of memory blocks of structure type type.
The memory blocks must be equal-sized, allocated via alloc or
alloc0 and linked together by a next pointer (similar to
SList). The offset of the next field in each block is passed as third argument.
Note that the exact release behaviour can be changed with the `G_DEBUG=gc-friendly` environment variable, also see `G_SLICE`
for related debugging options.
| block_size |
the size of the blocks |
| mem_chain |
a pointer to the first block of the chain |
| next_offset |
the offset of the |