libxl: unref DomainObjPrivate on error path
There is a potential leak of a newly created libxlDomainObjPrivate when subsequent allocation of the object's chrdev field fails. Unref the object on such an error so that it is properly disposed.
Showing
想要评论请 注册 或 登录