mirror of
https://github.com/labstack/echo.git
synced 2024-11-28 08:38:39 +02:00
remove unless defer
This commit is contained in:
parent
151ed6b3f1
commit
42271822e4
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user