diff --git a/registry/handlers/blobupload.go b/registry/handlers/blobupload.go index 5a163bb3b6e..24db0dcfa62 100644 --- a/registry/handlers/blobupload.go +++ b/registry/handlers/blobupload.go @@ -200,7 +200,6 @@ func (buh *blobUploadHandler) PutBlobUploadComplete(w http.ResponseWriter, r *ht buh.Errors = append(buh.Errors, v2.ErrorCodeBlobUploadUnknown) return } - defer buh.Upload.Close() dgstStr := r.FormValue("digest") // TODO(stevvooe): Support multiple digest parameters!