KVM: selftests: Explicitly free vcpus array in binary stats test
authorSean Christopherson <seanjc@google.com>
Tue, 11 Jul 2023 23:01:28 +0000 (16:01 -0700)
committerPaolo Bonzini <pbonzini@redhat.com>
Sat, 29 Jul 2023 15:05:29 +0000 (11:05 -0400)
commit33b02704071b0972a62ec32516847f91cab6cb8f
tree60b44491fa26873ed1fe6ee7cd8f353eef1742e3
parent87d53582bc8be30a11654a45fac0a257ed830ea8
KVM: selftests: Explicitly free vcpus array in binary stats test

Explicitly free the all-encompassing vcpus array in the binary stats test
so that the test is consistent with respect to freeing all dynamically
allocated resources (versus letting them be freed on exit).

Signed-off-by: Sean Christopherson <seanjc@google.com>
Message-Id: <20230711230131.648752-5-seanjc@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
tools/testing/selftests/kvm/kvm_binary_stats_test.c