Fix leaked conntrack.EntryHandle

This commit is contained in:
Matt Joiner 2019-03-29 08:48:56 +11:00
parent 97e23327dd
commit 485d6bb6e7
1 changed files with 1 additions and 0 deletions

View File

@ -522,6 +522,7 @@ func (cl *Client) dialFirst(ctx context.Context, addr string) dialResult {
0,
)
if ctx.Err() != nil {
cte.Forget()
resCh <- dialResult{}
return
}