std.http.Client: fix UAF when handling redirects

closes #19071
032c2ee9bcAndrew Kelley committed on 2/26/2024, 9:01:16 AMparent723d13f
2 files changedLine totals unavailable