[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PULL 56/57] hw/acpi/aml-build: Fix memory leak
From: |
Michael S. Tsirkin |
Subject: |
[Qemu-devel] [PULL 56/57] hw/acpi/aml-build: Fix memory leak |
Date: |
Sun, 31 May 2015 20:37:57 +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 46/57] Extend TPM TIS interface to support TPM 2, (continued)
- [Qemu-devel] [PULL 46/57] Extend TPM TIS interface to support TPM 2, Michael S. Tsirkin, 2015/05/31
- [Qemu-devel] [PULL 47/57] tpm: Probe for connected TPM 1.2 or TPM 2, Michael S. Tsirkin, 2015/05/31
- [Qemu-devel] [PULL 48/57] TPM2 ACPI table support, Michael S. Tsirkin, 2015/05/31
- [Qemu-devel] [PULL 49/57] acpi: add aml_add() term, Michael S. Tsirkin, 2015/05/31
- [Qemu-devel] [PULL 50/57] acpi: add aml_lless() term, Michael S. Tsirkin, 2015/05/31
- [Qemu-devel] [PULL 51/57] acpi: add aml_index() term, Michael S. Tsirkin, 2015/05/31
- [Qemu-devel] [PULL 52/57] acpi: add aml_shiftleft() term, Michael S. Tsirkin, 2015/05/31
- [Qemu-devel] [PULL 53/57] acpi: add aml_shiftright() term, Michael S. Tsirkin, 2015/05/31
- [Qemu-devel] [PULL 54/57] acpi: add aml_increment() term, Michael S. Tsirkin, 2015/05/31
- [Qemu-devel] [PULL 55/57] acpi: add aml_while() term, Michael S. Tsirkin, 2015/05/31
- [Qemu-devel] [PULL 56/57] hw/acpi/aml-build: Fix memory leak,
Michael S. Tsirkin <=
- [Qemu-devel] [PULL 57/57] virtio-mmio: ioeventfd support, Michael S. Tsirkin, 2015/05/31