diff --git a/cmd/storage-rest-server.go b/cmd/storage-rest-server.go index 7dff83256..cb426acee 100644 --- a/cmd/storage-rest-server.go +++ b/cmd/storage-rest-server.go @@ -1294,6 +1294,7 @@ func (s *storageRESTServer) ReadMultiple(w http.ResponseWriter, r *http.Request) var req ReadMultipleReq mr := msgpNewReader(r.Body) + defer readMsgpReaderPool.Put(mr) err := req.DecodeMsg(mr) if err != nil { rw.CloseWithError(err)