projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d631873
)
Fix qemu_free use in acpi.c
author
Jean-Christophe DUBOIS
<jcd@tribudubois.net>
Sun, 15 Nov 2009 18:18:13 +0000
(19:18 +0100)
committer
Anthony Liguori
<aliguori@us.ibm.com>
Wed, 2 Dec 2009 14:57:42 +0000
(08:57 -0600)
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>
hw/acpi.c
patch
|
blob
|
history
diff --git
a/hw/acpi.c
b/hw/acpi.c
index dcc2c862d39c64d67b0f03e1ab0e579a99f98779..9a69e7df1e8b48dee154df97a854386683eb0716 100644
(file)
--- 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;