aboutsummaryrefslogtreecommitdiff
path: root/lib/rational.c
diff options
context:
space:
mode:
authorPaolo Bonzini2017-06-27 15:45:09 +0200
committerPaolo Bonzini2017-06-27 15:45:09 +0200
commit525df86145bf731af522ba9b3982c5b48078b81a (patch)
tree76d7f38890872d6e6b4a3c7ae3dc4b16165edfb5 /lib/rational.c
parent039c5d1b2c5f249f5a291215eb5f0eb0afd54f81 (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 'lib/rational.c')
0 files changed, 0 insertions, 0 deletions