1
0

Fix: put correctly pool

This commit is contained in:
Dreamacro 2023-04-20 11:07:21 +08:00
parent d71324069d
commit 85f4cb23fc

View File

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