From 99dfe41368476bf91e7cfc12154ce9560701b3c8 Mon Sep 17 00:00:00 2001 From: Dag Sverre Seljebotn Date: Mon, 2 Feb 2009 22:00:31 +0100 Subject: [PATCH] Fix temp allocation problem in SliceNode --- Cython/Compiler/ExprNodes.py | 1 + 1 file changed, 1 insertion(+) 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) -- 2.26.2