aboutsummaryrefslogtreecommitdiff
path: root/hw/acpi.c
diff options
context:
space:
mode:
authorJean-Christophe DUBOIS <jcd@tribudubois.net>2009-11-15 19:18:13 +0100
committerAnthony Liguori <aliguori@us.ibm.com>2009-12-02 08:57:42 -0600
commitb2538b4b1f32d057d813aafe8beb16a8d6c7cf2b (patch)
tree52e00b01477f28fd3b2e7074d5c49fb6ac462982 /hw/acpi.c
parentd6318738c3ef83b78cf01f44be8c7fff6dba0572 (diff)
Fix qemu_free use in acpi.c
acpi.c is using free() instead of qemu_free(). Fix it. Signed-off-by: Jean-Christophe DUBOIS <jcd@tribudubois.net> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/acpi.c')
-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;