From: Stefan Behnel Date: Mon, 8 Dec 2008 20:31:30 +0000 (+0100) Subject: missing temp cleanup on assignment to TempRefNode X-Git-Tag: 0.11-beta~148 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=69211801670f650d82523b5d01175cc50aa3fded;p=cython.git missing temp cleanup on assignment to TempRefNode --- 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