Commit fb96d446 authored by lizhixin.lzx's avatar lizhixin.lzx

fix: remote unused defer

parent c7df4bed
...@@ -609,10 +609,6 @@ func (s *session) handleTCPPackage() error { ...@@ -609,10 +609,6 @@ func (s *session) handleTCPPackage() error {
pktBuf = new(bytes.Buffer) pktBuf = new(bytes.Buffer)
defer func() {
gxbytes.PutBytes(bufp)
}()
conn = s.Connection.(*gettyTCPConn) conn = s.Connection.(*gettyTCPConn)
for { for {
if s.IsClosed() { if s.IsClosed() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment