At these points, the socket file descriptor is not yet wrapped in an *os.File, so it needs to be closed explicitly on error. Signed-off-by: Tobias Klauser <[email protected]> Signed-off-by: Jason A. Donenfeld <[email protected]>
At these points, the socket file descriptor is not yet wrapped in an *os.File, so it needs to be closed explicitly on error. Signed-off-by: Tobias Klauser <[email protected]> Signed-off-by: Jason A. Donenfeld <[email protected]>