projects
/
cython.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
82af1c0
)
fix temp leak in default argument preparation code
author
Stefan Behnel
<scoder@users.berlios.de>
Sun, 28 Dec 2008 16:54:53 +0000
(17:54 +0100)
committer
Stefan Behnel
<scoder@users.berlios.de>
Sun, 28 Dec 2008 16:54:53 +0000
(17:54 +0100)
Cython/Compiler/Nodes.py
patch
|
blob
|
history
diff --git
a/Cython/Compiler/Nodes.py
b/Cython/Compiler/Nodes.py
index 1a88d197cca857c0915a337c6f1ee1b3dd513680..ae0a62ff4dffab70b2525d0823b4af8df7eb4759 100644
(file)
--- 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)