commit | e13341edd1f322e4a032c4e98a24db8cde45eb8d | [log] [tgz] |
---|---|---|
author | Mikio Hara <mikioh.mikioh@gmail.com> | Tue Apr 09 12:41:58 2013 +0900 |
committer | Mikio Hara <mikioh.mikioh@gmail.com> | Tue Apr 09 12:41:58 2013 +0900 |
tree | 3121a5a535b6350f9319955937484b0d26554e82 | |
parent | 4d5affd0452e6fca3f6827dd965894a837e6cb25 [diff] |
net: fix possible runtime.PollDesc leak when connect or listen fails Makes it possible to return the spent runtime.PollDesc to runtime.pollcache descriptor pool when netFD.connect or syscall.Listen fails. Fixes #5219. R=dvyukov, dave, bradfitz, adg CC=golang-dev https://golang.org/cl/8318044