Commit ab847bb5 authored by Dag Sverre Seljebotn's avatar Dag Sverre Seljebotn

Refnanny fix

parent 70ca3254
......@@ -2886,6 +2886,7 @@ class AttributeNode(NewTempExprNode):
select_code = self.result()
if self.type.is_pyobject:
rhs.make_owned_reference(code)
code.put_giveref(rhs.py_result())
code.put_decref(select_code, self.ctype())
code.putln(
"%s = %s;" % (
......
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