virsh: Fix error resetting on fallback paths
On some fallback paths in virsh, error reported by the previously failed API is cleared by virResetLastError() that doesn't free error stored by virsh. This patch changes this to clear it using vshResetLibvirtError().
Showing
想要评论请 注册 或 登录