From 69211801670f650d82523b5d01175cc50aa3fded Mon Sep 17 00:00:00 2001 From: Stefan Behnel Date: Mon, 8 Dec 2008 21:31:30 +0100 Subject: [PATCH] missing temp cleanup on assignment to TempRefNode --- Cython/Compiler/UtilNodes.py | 1 + 1 file changed, 1 insertion(+) diff --git a/Cython/Compiler/UtilNodes.py b/Cython/Compiler/UtilNodes.py index ded4dc80..497ce7e5 100644 --- a/Cython/Compiler/UtilNodes.py +++ b/Cython/Compiler/UtilNodes.py @@ -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 -- 2.26.2