aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--hw/acpi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/acpi.c b/hw/acpi.c
index dcc2c862d3..9a69e7df1e 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;