diff --git a/hashcompute.go b/hashcompute.go index c70a97f..a6da86d 100644 --- a/hashcompute.go +++ b/hashcompute.go @@ -31,7 +31,6 @@ func getBuf(size, capacity int) []uint8 { buf := *bufPool.Get().(*[]uint8) if cap(buf) < capacity { - bufPool.Put(&buf) buf = make([]uint8, capacity) }