mirror of
https://github.com/labstack/echo.git
synced 2025-07-17 01:43:02 +02:00
remove unless defer
This commit is contained in:
@ -361,7 +361,7 @@ func (c *context) FormFile(name string) (*multipart.FileHeader, error) {
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
defer f.Close()
|
||||
f.Close()
|
||||
return fh, nil
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user