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>
for (i = 0; i < max_vm; ++i)
kvm_vm_free(vms[i]);
free(vms);
+ free(vcpus);
ksft_finished(); /* Print results and exit() accordingly */
}