commit | 2be5b3f6dc84d30810cc0a94fa66205c27cf5f42 | [log] [tgz] |
---|---|---|
author | Liu Shuo <shuo.a.liu@intel.com> | Tue Jul 12 17:38:42 2016 +0800 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Thu Jul 14 19:11:21 2016 +0200 |
tree | 0b8eedc0b7829d198467533736fe99d644e436f9 | |
parent | 2f1fe81123f59271bddda673b60116bde9660385 [diff] |
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: Liu Shuo <shuo.a.liu@intel.com> Fixes: 536a6f88c49dd739961ffd53774775afed852c83 Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>