]> git.ipfire.org Git - thirdparty/wireguard-go.git/commit
device: remove nil elem check in finalizers
authorJosh Bleecher Snyder <josh@tailscale.com>
Tue, 9 Feb 2021 16:15:21 +0000 (08:15 -0800)
committerJason A. Donenfeld <Jason@zx2c4.com>
Tue, 9 Feb 2021 17:28:55 +0000 (18:28 +0100)
commitecceaadd168ce682695acf1a5c004ef89e4927eb
tree671225a8e01dac79d2076855aabef8456c689d77
parent9e728c2eb07e9d551bef2bcb3681ea0afc2dd1a0
device: remove nil elem check in finalizers

This is not necessary, and removing it speeds up detection of UAF bugs.

Signed-off-by: Josh Bleecher Snyder <josh@tailscale.com>
device/channels.go