Commit 35c00698 authored by Robert Bradshaw's avatar Robert Bradshaw

minor fix

parent 1a6cfa09
...@@ -3403,7 +3403,7 @@ class DelStatNode(StatNode): ...@@ -3403,7 +3403,7 @@ class DelStatNode(StatNode):
if arg.type.is_pyobject: if arg.type.is_pyobject:
arg.generate_deletion_code(code) arg.generate_deletion_code(code)
elif arg.type.is_ptr and arg.type.base_type.is_cpp_class: 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()) code.putln("delete %s;" % arg.result())
# else error reported earlier # else error reported earlier
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment