Fix arm & arm64 memleaks
This commit is contained in:
@ -54,7 +54,7 @@ static int machvirt_init(struct uc_struct *uc, MachineState *machine)
|
||||
return -1;
|
||||
}
|
||||
|
||||
cpuobj = object_new(uc, object_class_get_name(oc));
|
||||
uc->cpu = cpuobj = object_new(uc, object_class_get_name(oc));
|
||||
object_property_set_bool(uc, cpuobj, true, "realized", NULL);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user