Ensure to free the space claimed for heap_t