mirror of
https://github.com/amnezia-vpn/amneziawg-go.git
synced 2025-06-05 04:43:44 +02:00
send: do not unlock already freed object
This commit is contained in:
parent
738d027f0b
commit
8be1fc9c00
1 changed files with 0 additions and 1 deletions
1
send.go
1
send.go
|
@ -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
|
||||||
|
|
Loading…
Add table
Reference in a new issue