From b2538b4b1f32d057d813aafe8beb16a8d6c7cf2b Mon Sep 17 00:00:00 2001 From: Jean-Christophe DUBOIS Date: Sun, 15 Nov 2009 19:18:13 +0100 Subject: [PATCH] Fix qemu_free use in acpi.c acpi.c is using free() instead of qemu_free(). Fix it. Signed-off-by: Jean-Christophe DUBOIS Signed-off-by: Anthony Liguori --- hw/acpi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.11.4.GIT