Fix: put correctly pool

This commit is contained in:
Dreamacro 2023-04-20 11:07:21 +08:00
parent d71324069d
commit 85f4cb23fc
1 changed files with 1 additions and 1 deletions

View File

@ -27,5 +27,5 @@ func GetBytesBuffer() *protobytes.BytesWriter {
func PutBytesBuffer(buf *protobytes.BytesWriter) {
buf.Reset()
bufferPool.Put(buf)
bytesBufferPool.Put(buf)
}