memory safety fix for Io.Writer.Allocating.toOwnedSlice*()

don't forget to save the list.  this allows a
`testing.checkAllAllocationFailures()` test to pass in one of my
projects which newly failed since #24329 was merged.
294db62d92Travis Staloch committed on 7/15/2025, 6:49:54 AM· committed by Andrew Kelleyparent4f5fa95
1 file changedLine totals unavailable