]> Cypherpunks repositories - gostls13.git/commit
internal/poll: always decref if setting deadline fails
authorIan Lance Taylor <iant@golang.org>
Wed, 18 Oct 2017 23:04:45 +0000 (16:04 -0700)
committerIan Lance Taylor <iant@golang.org>
Thu, 19 Oct 2017 00:16:21 +0000 (00:16 +0000)
commit3813f941f6ff80f64d14db35f8b6446e10e45411
tree0b1ff6a8f75b01c556ffdcd09adc3b4dfbd2e18b
parent7b9d15d5665dc43256a5d6f79a307cc1ad728e2a
internal/poll: always decref if setting deadline fails

No test because at present it is never called in a way that fails.
When #22114 is implemented, failure will be possible. Not including this
change in that work because this change is separable and clearly correct.

Updates #22114

Change-Id: I81eb9eec8800e8082d918c0e5fb71282f538267e
Reviewed-on: https://go-review.googlesource.com/71751
Run-TryBot: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Joe Tsai <joetsai@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/internal/poll/fd_poll_runtime.go