From: Stefan Behnel Date: Wed, 3 Dec 2008 21:39:44 +0000 (+0100) Subject: fix temp deallocation in PrimaryCmpNode X-Git-Tag: 0.11-beta~165 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=56a101065807aab8024dd8d6a269f65374b4c983;p=cython.git fix temp deallocation in PrimaryCmpNode --- diff --git a/Cython/Compiler/ExprNodes.py b/Cython/Compiler/ExprNodes.py index f3f4a396..38796add 100644 --- a/Cython/Compiler/ExprNodes.py +++ b/Cython/Compiler/ExprNodes.py @@ -4457,9 +4457,9 @@ class PrimaryCmpNode(NewTempExprNode, CmpNode): self.cascade.generate_evaluation_code(code, self.result(), self.operand2) self.operand1.generate_disposal_code(code) + self.operand1.free_temps(code) self.operand2.generate_disposal_code(code) - self.operand1.free_temps(code) - self.operand2.free_temps(code) + self.operand2.free_temps(code) def generate_subexpr_disposal_code(self, code): # If this is called, it is a non-cascaded cmp,