mirror of
https://github.com/directorz/mailfull-go.git
synced 2025-12-24 04:57:03 +00:00
Add missing defer statements #2
This commit is contained in:
@@ -43,6 +43,7 @@ func (r *Repository) CatchAllUser(domainName string) (*CatchAllUser, error) {
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
defer file.Close()
|
||||
|
||||
scanner := bufio.NewScanner(file)
|
||||
scanner.Scan()
|
||||
|
||||
Reference in New Issue
Block a user