From patchwork Sun Nov 15 18:18:13 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [1/8] Fix qemu_free use in acpi.c From: Jean-Christophe DUBOIS X-Patchwork-Id: 38461 Message-Id: <1258309100-29591-1-git-send-email-jcd@tribudubois.net> To: qemu-devel@nongnu.org Cc: Jean-Christophe DUBOIS Date: Sun, 15 Nov 2009 19:18:13 +0100 acpi.c is using free() instead of qemu_free(). Fix it. Signed-off-by: Jean-Christophe DUBOIS --- hw/acpi.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/hw/acpi.c b/hw/acpi.c index dcc2c86..9a69e7d 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;