diff --git a/client/tailscale/localclient.go b/client/tailscale/localclient.go index e35846e61..9224f0843 100644 --- a/client/tailscale/localclient.go +++ b/client/tailscale/localclient.go @@ -1101,7 +1101,6 @@ func (lc *LocalClient) StreamDebugCapture(ctx context.Context) (io.ReadCloser, e } res, err := lc.doLocalRequestNiceError(req) if err != nil { - res.Body.Close() return nil, err } if res.StatusCode != 200 {