From 844cfa34743c2af6a18998148e2fa369c666f85f Mon Sep 17 00:00:00 2001 From: Stefan Behnel Date: Sun, 28 Dec 2008 17:54:53 +0100 Subject: [PATCH] fix temp leak in default argument preparation code --- Cython/Compiler/Nodes.py | 1 + 1 file changed, 1 insertion(+) diff --git a/Cython/Compiler/Nodes.py b/Cython/Compiler/Nodes.py index 1a88d197..ae0a62ff 100644 --- a/Cython/Compiler/Nodes.py +++ b/Cython/Compiler/Nodes.py @@ -1174,6 +1174,7 @@ class FuncDefNode(StatNode, BlockNode): code.putln( "%s = 0;" % default.result()) + default.free_temps(code) # For Python class methods, create and store function object if self.assmt: self.assmt.generate_execution_code(code) -- 2.26.2