From 85f4cb23fc8793ac5d1e8fc3eeb82b4c3288f0aa Mon Sep 17 00:00:00 2001 From: Dreamacro <8615343+Dreamacro@users.noreply.github.com> Date: Thu, 20 Apr 2023 11:07:21 +0800 Subject: [PATCH] Fix: put correctly pool --- common/pool/buffer.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/pool/buffer.go b/common/pool/buffer.go index 6a3b6e2..98aa39a 100644 --- a/common/pool/buffer.go +++ b/common/pool/buffer.go @@ -27,5 +27,5 @@ func GetBytesBuffer() *protobytes.BytesWriter { func PutBytesBuffer(buf *protobytes.BytesWriter) { buf.Reset() - bufferPool.Put(buf) + bytesBufferPool.Put(buf) }