mirror of
https://git.zx2c4.com/wireguard-go
synced 2026-08-01 04:46:31 +00:00
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 <tklauser@distanz.ch> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>