From: Dag Sverre Seljebotn Date: Mon, 2 Feb 2009 21:00:31 +0000 (+0100) Subject: Fix temp allocation problem in SliceNode X-Git-Tag: 0.11.rc~93^2~19 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=99dfe41368476bf91e7cfc12154ce9560701b3c8;p=cython.git Fix temp allocation problem in SliceNode --- diff --git a/Cython/Compiler/ExprNodes.py b/Cython/Compiler/ExprNodes.py index 0fba3570..847efacf 100644 --- a/Cython/Compiler/ExprNodes.py +++ b/Cython/Compiler/ExprNodes.py @@ -2066,6 +2066,7 @@ class SliceIndexNode(ExprNode): self.base.result(), start_offset, i, rhs.result(), i)) self.generate_subexpr_disposal_code(code) + self.free_subexpr_temps(code) rhs.generate_disposal_code(code) rhs.free_temps(code)