projects
/
cython.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dc1104f
)
fix leaking classmethods in cdef classes
author
Stefan Behnel
<scoder@users.berlios.de>
Sun, 22 Feb 2009 11:12:59 +0000
(12:12 +0100)
committer
Stefan Behnel
<scoder@users.berlios.de>
Sun, 22 Feb 2009 11:12:59 +0000
(12:12 +0100)
Cython/Compiler/ExprNodes.py
patch
|
blob
|
history
diff --git
a/Cython/Compiler/ExprNodes.py
b/Cython/Compiler/ExprNodes.py
index 8ab9019eec355a1720a3c254e46fc11874570969..97a58830728b05bc0510edf65492260859b1f73c 100644
(file)
--- a/
Cython/Compiler/ExprNodes.py
+++ b/
Cython/Compiler/ExprNodes.py
@@
-1302,6
+1302,8
@@
class NameNode(AtomicExprNode):
namespace,
self.interned_cname,
rhs.py_result()))
+ rhs.generate_disposal_code(code)
+ rhs.free_temps(code)
# in Py2.6+, we need to invalidate the method cache
code.putln("PyType_Modified(%s);" %
entry.scope.parent_type.typeptr_cname)