mirror of
https://github.com/hermitcore/libhermit.git
synced 2025-03-09 00:00:03 +01:00
tools/uhyve: fix memory leak
This commit is contained in:
parent
76f9ad80f7
commit
5f949d4acc
1 changed files with 2 additions and 0 deletions
|
@ -462,6 +462,8 @@ static void setup_cpuid(int kvm, int vcpufd)
|
|||
// set features
|
||||
filter_cpuid(kvm_cpuid);
|
||||
kvm_ioctl(vcpufd, KVM_SET_CPUID2, kvm_cpuid);
|
||||
|
||||
free(kvm_cpuid);
|
||||
}
|
||||
|
||||
static int vcpu_loop(void)
|
||||
|
|
Loading…
Add table
Reference in a new issue