mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-10 02:54:58 -06:00
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>
This commit is contained in:
parent
d6318738c3
commit
b2538b4b1f
1 changed files with 1 additions and 1 deletions
|
@ -920,7 +920,7 @@ int acpi_table_add(const char *t)
|
||||||
return 0;
|
return 0;
|
||||||
out:
|
out:
|
||||||
if (acpi_tables) {
|
if (acpi_tables) {
|
||||||
free(acpi_tables);
|
qemu_free(acpi_tables);
|
||||||
acpi_tables = NULL;
|
acpi_tables = NULL;
|
||||||
}
|
}
|
||||||
return -1;
|
return -1;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue