mirror of
https://gitee.com/gitea/gitea
synced 2025-12-21 16:06:40 +08:00
Call MultipartForm.RemoveAll when request finishes (#19606)
This commit is contained in:
@@ -256,6 +256,7 @@ func APIContexter() func(http.Handler) http.Handler {
|
||||
},
|
||||
Org: &APIOrganization{},
|
||||
}
|
||||
defer ctx.Close()
|
||||
|
||||
ctx.Req = WithAPIContext(WithContext(req, ctx.Context), &ctx)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user