node: Don't return invalid pointers
Commit 4337bc57 introduced code that would in certain error paths unref the last reference of a pointer, but return it. Clear the pointers before returning them.
Showing
想要评论请 注册 或 登录
Commit 4337bc57 introduced code that would in certain error paths unref the last reference of a pointer, but return it. Clear the pointers before returning them.