From: Robert Bradshaw Date: Tue, 7 Jul 2009 08:38:24 +0000 (-0700) Subject: minor fix X-Git-Tag: 0.13.beta0~353^2~70 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=35c006987f8e18f03c06b90903a44f0b906550ca;p=cython.git minor fix --- diff --git a/Cython/Compiler/Nodes.py b/Cython/Compiler/Nodes.py index 7b0539aa..9e309368 100644 --- a/Cython/Compiler/Nodes.py +++ b/Cython/Compiler/Nodes.py @@ -3403,7 +3403,7 @@ class DelStatNode(StatNode): if arg.type.is_pyobject: arg.generate_deletion_code(code) elif arg.type.is_ptr and arg.type.base_type.is_cpp_class: - arg.generate_result_code() + arg.generate_result_code(code) code.putln("delete %s;" % arg.result()) # else error reported earlier