Skip to content

Commit

Permalink
Merge branch 'master' of github.com:coreybutler/nvm-windows
Browse files Browse the repository at this point in the history
  • Loading branch information
coreybutler committed Aug 12, 2018
2 parents 5c6fedf + 9fb1b77 commit d76598d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/nvm/arch/arch.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ func SearchBytesInFile( path string, match string, limit int) bool {
return false;
}

// Close file upon return
defer file.Close()

// Allocate 1 byte array to perform the match
bit := make([]byte, 1);
j := 0
Expand Down

0 comments on commit d76598d

Please sign in to comment.