KVM: release anon file in failure path of vm creation
The failure of create debugfs of VM will return directly without release the anon file. It will leak memory and file descriptors, even through be not serious. Signed-off-by: NLiu Shuo <shuo.a.liu@intel.com> Fixes: 536a6f88Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>
Showing
想要评论请 注册 或 登录