Skip to content

Commit

Permalink
fix(codegen): free array's index register
Browse files Browse the repository at this point in the history
  • Loading branch information
MilkeeyCat committed Sep 10, 2024
1 parent 2753a67 commit 3a346fe
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/codegen/codegen.rs
Original file line number Diff line number Diff line change
Expand Up @@ -771,6 +771,7 @@ impl CodeGen {
})),
state,
)?;
self.arch.free(index)?;
self.arch.free(r)?;
}

Expand Down

0 comments on commit 3a346fe

Please sign in to comment.