Commit 8f81a750 authored by gsamain's avatar gsamain Committed by Xavier Thompson

Proper refcount of activated methods

parent a08bf41e
...@@ -1224,6 +1224,7 @@ class ModuleNode(Nodes.Node, Nodes.BlockNode): ...@@ -1224,6 +1224,7 @@ class ModuleNode(Nodes.Node, Nodes.BlockNode):
code.putln("} else {") code.putln("} else {")
code.putln("/* We should definitely shout here */") code.putln("/* We should definitely shout here */")
code.putln("}") code.putln("}")
code.putln("Cy_DECREF(message);")
code.putln("/* Return result object */") code.putln("/* Return result object */")
code.putln("return result_object;") code.putln("return result_object;")
code.putln("}") code.putln("}")
......
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