Skip to content

Commit

Permalink
file.close in auth
Browse files Browse the repository at this point in the history
  • Loading branch information
Soulou committed Dec 23, 2014
1 parent dafb121 commit 9a5d9ba
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions config/auth.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ func LoadAuth() (*users.User, error) {
if err != nil {
return nil, errgo.Mask(err, errgo.Any)
}
defer file.Close()

var authConfig AuthConfigData
dec := json.NewDecoder(file)
Expand Down

0 comments on commit 9a5d9ba

Please sign in to comment.