stream_selection can be freed in the fail case, in which case it's unassigned.