summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorPaolo Bonzini2022-09-05 12:06:02 +0200
committerPaolo Bonzini2022-09-18 09:17:40 +0200
commit21adec30f62e4e700e0e217da756723e189d7b29 (patch)
tree7f8ce70d9d34d452888e35254d0c094b16d3c017 /scripts
parenttarget/i386: Raise #GP on unaligned m128 accesses when required. (diff)
downloadqemu-21adec30f62e4e700e0e217da756723e189d7b29.tar.gz
qemu-21adec30f62e4e700e0e217da756723e189d7b29.tar.xz
qemu-21adec30f62e4e700e0e217da756723e189d7b29.zip
kvm: fix memory leak on failure to read stats descriptors
Reported by Coverity as CID 1490142. Since the size is constant and the lifetime is the same as the StatsDescriptors struct, embed the struct directly instead of using a separate allocation. Suggested-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions