Skip to content

Commit

Permalink
Fix memory leak
Browse files Browse the repository at this point in the history
  • Loading branch information
JukkaL committed Sep 3, 2023
1 parent caca43f commit 2a2684b
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion mypyc/codegen/emitfunc.py
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,6 @@ def visit_tuple_set(self, op: TupleSet) -> None:
else:
for i, item in enumerate(op.items):
self.emit_line(f"{dest}.f{i} = {self.reg(item)};")
self.emit_inc_ref(dest, tuple_type)

def visit_assign(self, op: Assign) -> None:
dest = self.reg(op.dest)
Expand Down

0 comments on commit 2a2684b

Please sign in to comment.