Commit 69211801 authored by Stefan Behnel's avatar Stefan Behnel

missing temp cleanup on assignment to TempRefNode

parent 972b3048
......@@ -49,6 +49,7 @@ class TempRefNode(AtomicExprNode):
code.put_xdecref(self.result(), self.ctype())
code.putln('%s = %s;' % (self.result(), rhs.result_as(self.ctype())))
rhs.generate_post_assignment_code(code)
rhs.free_temps(code)
class CleanupTempRefNode(TempRefNode):
# handle TempHandle
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment