minor fix
authorRobert Bradshaw <robertwb@math.washington.edu>
Tue, 7 Jul 2009 08:38:24 +0000 (01:38 -0700)
committerRobert Bradshaw <robertwb@math.washington.edu>
Tue, 7 Jul 2009 08:38:24 +0000 (01:38 -0700)
Cython/Compiler/Nodes.py

index 7b0539aaafe7fd9da33f6397e679be5885808022..9e3093689c2af950f50cf47a0a55e652a272b244 100644 (file)
@@ -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