#5 bit of cleanup of alloc and free of rings.