[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PULL v2 56/60] hw/acpi/aml-build: Fix memory leak
From: |
Michael S. Tsirkin |
Subject: |
[Qemu-devel] [PULL v2 56/60] hw/acpi/aml-build: Fix memory leak |
Date: |
Mon, 1 Jun 2015 14:25:44 +0200 |
From: Shannon Zhao <address@hidden>
Signed-off-by: Shannon Zhao <address@hidden>
Signed-off-by: Shannon Zhao <address@hidden>
Reviewed-by: Michael S. Tsirkin <address@hidden>
Signed-off-by: Michael S. Tsirkin <address@hidden>
Reviewed-by: Igor Mammedov <address@hidden>
---
hw/acpi/aml-build.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/hw/acpi/aml-build.c b/hw/acpi/aml-build.c
index f26466a..2bebf23 100644
--- a/hw/acpi/aml-build.c
+++ b/hw/acpi/aml-build.c
@@ -296,6 +296,7 @@ static void aml_free(gpointer data, gpointer user_data)
{
Aml *var = data;
build_free_array(var->buf);
+ g_free(var);
}
Aml *init_aml_allocator(void)
--
MST
- [Qemu-devel] [PULL v2 46/60] Extend TPM TIS interface to support TPM 2, (continued)
- [Qemu-devel] [PULL v2 46/60] Extend TPM TIS interface to support TPM 2, Michael S. Tsirkin, 2015/06/01
- [Qemu-devel] [PULL v2 47/60] tpm: Probe for connected TPM 1.2 or TPM 2, Michael S. Tsirkin, 2015/06/01
- [Qemu-devel] [PULL v2 48/60] TPM2 ACPI table support, Michael S. Tsirkin, 2015/06/01
- [Qemu-devel] [PULL v2 49/60] acpi: add aml_add() term, Michael S. Tsirkin, 2015/06/01
- [Qemu-devel] [PULL v2 50/60] acpi: add aml_lless() term, Michael S. Tsirkin, 2015/06/01
- [Qemu-devel] [PULL v2 51/60] acpi: add aml_index() term, Michael S. Tsirkin, 2015/06/01
- [Qemu-devel] [PULL v2 53/60] acpi: add aml_shiftright() term, Michael S. Tsirkin, 2015/06/01
- [Qemu-devel] [PULL v2 52/60] acpi: add aml_shiftleft() term, Michael S. Tsirkin, 2015/06/01
- [Qemu-devel] [PULL v2 54/60] acpi: add aml_increment() term, Michael S. Tsirkin, 2015/06/01
- [Qemu-devel] [PULL v2 55/60] acpi: add aml_while() term, Michael S. Tsirkin, 2015/06/01
- [Qemu-devel] [PULL v2 56/60] hw/acpi/aml-build: Fix memory leak,
Michael S. Tsirkin <=
- [Qemu-devel] [PULL v2 57/60] virtio-mmio: ioeventfd support, Michael S. Tsirkin, 2015/06/01
- [Qemu-devel] [PULL v2 58/60] qdev: add 64bit properties, Michael S. Tsirkin, 2015/06/01
[Qemu-devel] [PULL v2 60/60] vhost-user: add multi queue support, Michael S. Tsirkin, 2015/06/01
[Qemu-devel] [PULL v2 59/60] virtio: make features 64bit wide, Michael S. Tsirkin, 2015/06/01
Re: [Qemu-devel] [PULL v2 00/60] pc, pci, tpm, virtio, vhost enhancements and fixes, Peter Maydell, 2015/06/01