commit | 525df86145bf731af522ba9b3982c5b48078b81a | [log] [tgz] |
---|---|---|
author | Paolo Bonzini <pbonzini@redhat.com> | Tue Jun 27 15:45:09 2017 +0200 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Tue Jun 27 15:45:09 2017 +0200 |
tree | 76d7f38890872d6e6b4a3c7ae3dc4b16165edfb5 | |
parent | 039c5d1b2c5f249f5a291215eb5f0eb0afd54f81 [diff] |
KVM: explain missing kvm_put_kvm in case of failure The call to kvm_put_kvm was removed from error handling in commit 506cfba9e726 ("KVM: don't use anon_inode_getfd() before possible failures"), but it is _not_ a memory leak. Reuse Al's explanation to avoid that someone else makes the same mistake. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>