Sounds right to me (well XDECREF for op2_array and nothing for op1), not sure why the refcounting would get broken. The dtypes may still need DECREFing, too.