From 2237528d1ec21231c931b7b9665afc331cab5cf0 Mon Sep 17 00:00:00 2001 From: RPRX <63339210+rprx@users.noreply.github.com> Date: Thu, 10 Sep 2020 16:05:02 +0000 Subject: [PATCH] fix --- proxy/vless/inbound/inbound.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proxy/vless/inbound/inbound.go b/proxy/vless/inbound/inbound.go index 2adbd909..435cea79 100644 --- a/proxy/vless/inbound/inbound.go +++ b/proxy/vless/inbound/inbound.go @@ -166,7 +166,7 @@ func (h *Handler) Process(ctx context.Context, network net.Network, connection i err = newError("fallback directly") } else { request, requestAddons, err, pre = encoding.DecodeRequestHeader(reader, h.validator) - if pre == nil { + if pre != nil { defer pre.Release() } else { isfb = false