summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2018-10-18 18:15:24 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2018-10-18 18:15:24 +0200
commit8be1fc9c00407b85073ed66d95f12202df674ccb (patch)
tree8df96b26db6586f38cfbabede3b74cc1c32b7345
parent738d027f0bfc59e14384e36c44753d7b61fb1c43 (diff)
send: do not unlock already freed object
-rw-r--r--send.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/send.go b/send.go
index b636a43..07e43e1 100644
--- a/send.go
+++ b/send.go
@@ -562,7 +562,6 @@ func (peer *Peer) RoutineSequentialSender() {
elem.Drop()
}
device.PutOutboundElement(elem)
- elem.mutex.Unlock()
}
default:
goto out