diff options
author | Paolo Bonzini | 2017-06-27 15:45:09 +0200 |
---|---|---|
committer | Paolo Bonzini | 2017-06-27 15:45:09 +0200 |
commit | 525df86145bf731af522ba9b3982c5b48078b81a (patch) | |
tree | 76d7f38890872d6e6b4a3c7ae3dc4b16165edfb5 /init | |
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>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions