projects
/
cython.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
972b304
)
missing temp cleanup on assignment to TempRefNode
author
Stefan Behnel
<scoder@users.berlios.de>
Mon, 8 Dec 2008 20:31:30 +0000
(21:31 +0100)
committer
Stefan Behnel
<scoder@users.berlios.de>
Mon, 8 Dec 2008 20:31:30 +0000
(21:31 +0100)
Cython/Compiler/UtilNodes.py
patch
|
blob
|
history
diff --git
a/Cython/Compiler/UtilNodes.py
b/Cython/Compiler/UtilNodes.py
index ded4dc808c3a9b2ba73d4da5e4ce6236c18daa7f..497ce7e598dc0ee15b3892374764c77e75848602 100644
(file)
--- a/
Cython/Compiler/UtilNodes.py
+++ b/
Cython/Compiler/UtilNodes.py
@@
-49,6
+49,7
@@
class TempRefNode(AtomicExprNode):
code.put_xdecref(self.result(), self.ctype())
code.putln('%s = %s;' % (self.result(), rhs.result_as(self.ctype())))
rhs.generate_post_assignment_code(code)
+ rhs.free_temps(code)
class CleanupTempRefNode(TempRefNode):
# handle TempHandle