Skip to content

Commit

Permalink
Address PR feedback even harder
Browse files Browse the repository at this point in the history
  • Loading branch information
nwt committed Dec 18, 2024
1 parent afa044f commit e8bc7ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion runtime/vam/op/exprswitch.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ func (s *ExprSwitch) AddCase(val *super.Value) vector.Puller {
}

func (s *ExprSwitch) forward(vec vector.Any) bool {
clear(s.caseIndexes)
defer clear(s.caseIndexes)
exprVec := s.expr.Eval(vec)
for i := range exprVec.Len() {
s.builder.Truncate()
Expand Down

0 comments on commit e8bc7ef

Please sign in to comment.