Commit 7427f3de authored by gsamain's avatar gsamain Committed by Xavier Thompson

Del statement on cypclass assign to NULL

parent caf16d26
......@@ -6354,6 +6354,7 @@ class DelStatNode(StatNode):
elif arg.type.is_cyp_class:
arg.generate_evaluation_code(code)
code.putln("Cy_DECREF(%s);" % arg.result())
code.putln("%s = NULL;" % arg.result())
arg.generate_disposal_code(code)
# 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