diff --git a/main.go b/main.go index 84ceb94..55d8746 100644 --- a/main.go +++ b/main.go @@ -111,7 +111,7 @@ func packetHandler(packetChan chan *[]byte) { obj.changed = true } obj.Unlock() - pktPool.Put(*packet) + pktPool.Put(packet) } }