kraftwerk1611 wrote
Taking out length 7 memory segment from this segment[size=9] will take all available available data part leaving only 2 segment header elements with zero data element.
This should be OK if it doesn't cause problems with your free list searching. Requests for zero-length heap are rare—they only happen when a Jack object with no data members is constructed.
In might be better to treat this the same as finding a size=8 block; just return the entire block.
--Mark