Home
last modified time | relevance | path

Searched hist:"6 e623af3" (Results 1 – 1 of 1) sorted by relevance

/openbmc/qemu/target/i386/kvm/
H A Dvmsr_energy.c6e623af3 Fri Jul 26 05:26:32 CDT 2024 Anthony Harivel <aharivel@redhat.com> target/i386: Clean up error cases for vmsr_read_thread_stat()

Fix leaking memory of file handle in case of error
Erase unused "pid = -1"
Add clearer error_report

Should fix Coverity CID 1558557.

Signed-off-by: Anthony Harivel <aharivel@redhat.com>
Link: https://lore.kernel.org/r/20240726102632.1324432-3-aharivel@redhat.com
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>