1
0
mirror of https://git.zx2c4.com/wireguard-go synced 2024-11-15 09:15:14 +01:00

send: do not unlock already freed object

This commit is contained in:
Jason A. Donenfeld 2018-10-18 18:15:24 +02:00
parent 738d027f0b
commit 8be1fc9c00

View File

@ -562,7 +562,6 @@ func (peer *Peer) RoutineSequentialSender() {
elem.Drop() elem.Drop()
} }
device.PutOutboundElement(elem) device.PutOutboundElement(elem)
elem.mutex.Unlock()
} }
default: default:
goto out goto out