Commit 353869f6 authored by Stefan Behnel's avatar Stefan Behnel

fix crash due to non-owned reference

parent bcfe2f7c
......@@ -5566,6 +5566,7 @@ class KeywordArgsNode(ExprNode):
code.putln('if (likely(PyDict_Check(%s))) {' %
item.py_result())
item.make_owned_reference(code)
code.putln("%s = %s;" % (self.result(), item.py_result()))
item.generate_post_assignment_code(code)
......
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