diff options
| author | Paolo Bonzini | 2022-09-05 12:06:02 +0200 |
|---|---|---|
| committer | Paolo Bonzini | 2022-09-18 09:17:40 +0200 |
| commit | 21adec30f62e4e700e0e217da756723e189d7b29 (patch) | |
| tree | 7f8ce70d9d34d452888e35254d0c094b16d3c017 /scripts | |
| parent | target/i386: Raise #GP on unaligned m128 accesses when required. (diff) | |
| download | qemu-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
