diff --git a/hw/acpi.c b/hw/acpi.c index dcc2c862d39c64d67b0f03e1ab0e579a99f98779..9a69e7df1e8b48dee154df97a854386683eb0716 100644 --- a/hw/acpi.c +++ b/hw/acpi.c @@ -920,7 +920,7 @@ int acpi_table_add(const char *t) return 0; out: if (acpi_tables) { - free(acpi_tables); + qemu_free(acpi_tables); acpi_tables = NULL; } return -1;