mirror of
https://git.zx2c4.com/wireguard-go
synced 2026-09-30 03:36: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>