Skip to content

Commit

Permalink
fix lint issue (microsoft#1314)
Browse files Browse the repository at this point in the history
Signed-off-by: Maksim An <maksiman@microsoft.com>
  • Loading branch information
anmaxvl authored Mar 4, 2022
1 parent 5e1cbe9 commit d76cdb4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion jobcontainers/logon.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,9 @@ func groupExists(groupName string) bool {
); err != nil {
return false
}
defer windows.NetApiBufferFree(p)
defer func() {
_ = windows.NetApiBufferFree(p)
}()
return true
}

Expand Down

0 comments on commit d76cdb4

Please sign in to comment.