Returned temporaries should have a refcount of 0 if just constructed. Temporaries also need to have refcount_inc called on them; right now, this doesn't happen for temporaries.
Actually, all objects should be returned with an incremented refcount, because the caller expects to decrement any value that is temporary. This issue was resolved.
Returned temporaries should have a refcount of 0 if just constructed. Temporaries also need to have refcount_inc called on them; right now, this doesn't happen for temporaries.